DK for ActiveX | TatukGIS_XDK11.ITGIS_Shape.ImportFromWKT | Methods | Properties
Replaces the current geometry by parsing Well-Known Text (WKT) in place.
// C# public void ImportFromWKT( WideString _wkt );
' VisualBasic Public Sub ImportFromWKT( ByVal _wkt As WideString )
// Oxygene public procedure ImportFromWKT( _wkt : WideString );
| Name | Type | Description |
|---|---|---|
| _wkt | WideString | WKT text such as POINT(10 20), LINESTRING(...), or POLYGON((...)). |
PURPOSE: Replaces the current shape geometry from WKT (Well-Known Text), the OGC (Open Geospatial Consortium) standard text representation for vector geometry.
BEHAVIOR: Parses the WKT content and updates this shape in place with the decoded geometry.
CONSTRAINTS: Existing geometry is overwritten. WKT does not carry CRS (Coordinate Reference System) metadata. Malformed input raises an exception.