User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.create_igis_viewerparent

Table of Contents

TGIS_Viewer.Create constructor

DK for Delphi | GisViewer.TGIS_Viewer.Create | Constructors | Fields | Methods | Properties | Events

Create a viewer instance.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  constructor Create(
    _owner : IGIS_ViewerParent
  ); overload;
// C++ Builder
Create (
  IGIS_ViewerParent* _owner
);

Parameters

Name Type Description
_owner IGIS_ViewerParent Viewer owner/parent interface.

Remarks

PURPOSE: Creates a new viewer object and attaches it to the supplied parent interface.

BEHAVIOR: Creates the viewer instance, creates an internal self-reference object, and initializes viewer state by calling doCreate.

USAGE: Create a viewer bound to a parent control or host.

viewer = TGIS_Viewer(parent)

CONSTRAINTS: TGIS_Viewer is a generic base viewer and is typically used through descendants rather than directly.

2026/09/20 23:49

Page Tools