User Tools

Site Tools


api:dk11:delphi:gisviewer3dbase.tgis_viewer3dbase.create_thandle_igis_viewer_tgis_extent_boolean

Table of Contents

TGIS_Viewer3DBase.Create constructor

DK11 for Delphi | GisViewer3DBase.TGIS_Viewer3DBase.Create | Constructors | Fields | Methods | Properties | Events

Construct an instance of 3D Viewer

Available also on: .NET WinForms | Python.

Syntax

// Delphi
public
  constructor Create(
    const _hwnd : THandle;
    const _viewer : IGIS_Viewer;
    const _extent : TGIS_Extent;
    const _initdraw : Boolean
  ); virtual;
// C++ Builder
Create (
  THandle* const _hwnd,
  IGIS_Viewer* const _viewer,
  TGIS_Extent* const _extent,
  const bool _initdraw
);

Parameters

Name Type Description
_hwnd THandle handle to a window in which viewer should be constructed; if 0 then object will be created on _viewer
_viewer IGIS_Viewer master viewer window
_extent TGIS_Extent extent restriction (all objects outside will be cut off)
_initdraw Boolean draw initial view if True, do not draw if False

Remarks

To support automatic mouse handling object should be created on a

2022/11/30 19:19

Page Tools