User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_shape.importfromwkb_olevariant

Table of Contents

ITGIS_Shape.ImportFromWKB method

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

Replaces the current geometry by parsing Well-Known Binary (WKB) in place.

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

Syntax

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

Parameters

Name Type Description
_wkb OleVariant WKB value stored in an OleVariant, typically as a byte array or hexadecimal string.

Remarks

PURPOSE: Replaces the current shape geometry from WKB (Well-Known Binary), the OGC (Open Geospatial Consortium) standard binary representation for vector geometry.

BEHAVIOR: Parses the WKB content and updates this shape in place with the decoded geometry.

CONSTRAINTS: Existing geometry is overwritten. WKB does not carry CRS (Coordinate Reference System) metadata. Malformed input raises an exception.

2026/07/05 01:25

Page Tools