DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.Create_3 | Methods | Properties
Create a shape instance.
// C# public void Create_3( ITGIS_Shape _source, SYSINT _ptr, WordBool _mapped, OleVariant _uid, ITGIS_LayerVector _layer, TGIS_DimensionType _dim );
' VisualBasic Public Sub Create_3( ByVal _source As ITGIS_Shape, ByVal _ptr As SYSINT, ByVal _mapped As WordBool, ByVal _uid As OleVariant, ByVal _layer As ITGIS_LayerVector, ByVal _dim As TGIS_DimensionType )
// Oxygene public procedure Create_3( _source : ITGIS_Shape; _ptr : SYSINT; _mapped : WordBool; _uid : OleVariant; _layer : ITGIS_LayerVector; _dim : TGIS_DimensionType );
Name | Type | Description |
---|---|---|
_source | ITGIS_Shape | If not nil then base shape will be based on this shape. Otherwise _prt, _mapped, _uid and _layer will be used. |
_ptr | SYSINT | Address in memory where shape data exists. |
_mapped | WordBool | Id _ptr from mapped file or from memory. |
_uid | OleVariant | Unique identity for shape. |
_layer | ITGIS_LayerVector | Reference to the layer on which shape will be created. |
_dim | TGIS_DimensionType | Dimension |
Use this method to create a shape. Internally it calls Recreate method.
This is a simple procedure showing how to add a shape to the layer.