DK11 for ActiveX | TatukGIS_XDK11.ITGIS_Shape.SetPosition | Methods | Properties
Move the whole shape.
// C# public void SetPosition( ITGIS_Point _ptg, ITGIS_LayerVector _layer, double _prec );
' VisualBasic Public Sub SetPosition( ByVal _ptg As ITGIS_Point, ByVal _layer As ITGIS_LayerVector, ByVal _prec As Double )
// Oxygene public procedure SetPosition( _ptg : ITGIS_Point; _layer : ITGIS_LayerVector; _prec : Double );
Name | Type | Description |
---|---|---|
_ptg | ITGIS_Point | point to which we are moving ; |
_layer | ITGIS_LayerVector | snapping layer; if nil, a shape will not be snapped; just perfect for GPS snap-to-road function |
_prec | double Double | snapping precision; only points closer to _ptg than _prec can be found ; |
Use this method to move the whole shape. Reference point is the same as Centroid.