User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.importfromgdo_olevariant

Table of Contents

ITGIS_Shape.ImportFromGDO method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.ImportFromGDO | Methods | Properties

Replaces the current geometry by parsing GDO (GeoMedia Database Object) binary content in place.

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

Syntax

// C#
public void ImportFromGDO(
  ref OleVariant _gdo
);
' VisualBasic
Public Sub ImportFromGDO(
  ByRef _gdo As OleVariant
)
// Oxygene
public
  procedure ImportFromGDO(
    var _gdo : OleVariant
  );

Parameters

Name Type Description
_gdo OleVariant GDO value stored in an OleVariant using the Intergraph GeoMedia internal binary geometry format.

Remarks

PURPOSE: Replaces the current shape geometry from GDO (GeoMedia Database Object), a legacy Intergraph GeoMedia binary format.

BEHAVIOR: Creates a temporary shape from the GDO value, resets the current geometry, and then copies coordinates only when the parsed shape type matches this shape type. If this shape type is Complex, the shape is recreated from the parsed result.

CONSTRAINTS: Existing geometry is overwritten before type compatibility is checked. If the parsed shape type does not match this non-complex shape, the result is an empty geometry. Malformed input raises an exception.

2026/09/20 23:45

Page Tools