DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.ImportFromGDO | Methods | Properties
Replaces the current geometry by parsing GDO (GeoMedia Database Object) binary content in place.
// C# public void ImportFromGDO( ref OleVariant _gdo );
' VisualBasic Public Sub ImportFromGDO( ByRef _gdo As OleVariant )
// Oxygene public procedure ImportFromGDO( var _gdo : OleVariant );
| Name | Type | Description |
|---|---|---|
| _gdo | OleVariant | GDO value stored in an OleVariant using the Intergraph GeoMedia internal binary geometry format. |
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.