AddPolygon function
Prototype: |
function AddPolygon (Polygon_ : TPolygonWrapper; const ID : variant) : boolean; |
|
Description: |
Adds a polygon to a specific layer and for the first form of syntax listed below returns 1 if the polygon was successfully created and 0 if not. |
|
Syntax (1): |
variable := Layer.AddPolygon (Polygon_, ID); |
|
Syntax (2): |
Layer.AddPolygon (Polygon_, ID); |
|
Part |
Description |
|
variable |
Variable declared as boolean |
|
Layer |
A reference to the Field-Map layer as defined in Field-Map Project Manager |
|
Polygon_ |
defining the topology of polygon (see Example). bad hyperlink |
|
ID |
ID of newly created polygon. |
|
Return value: |
True/false (for syntax 1) |
|
See also:
GisLayerReference; ShapeRecordCount; GetParentPolygonArea_m2; FindIntersectingPolygons; GetIntersectingPolygonAreas; FindContainedPointsOrCentroids; FindLinesIntersectingPolygon; FindClosestLine; FindPolygonContainingPoint; FindPolygonContainingPointByCoords; AddPoint; AddLine; AddPolygon; AddCentroid; AddPolygonWithCentroid; AddCircularPolygonWithCentroid; SplitMultiPolygon; DeletePoint; DeleteLine; DeletePolygon; DeletePolygonsKeepCentroidsAndAttributes; SaveShapesToBlobs; UpdateSymbolAndLabelInShapefiles; CreatePointsAlongLine; RefreshMap; RefreshMapRectangle; ZoomAndSelect; ZoomAndSelectEntity; SelectEntities; ZoomToLayerExtent; MeasureLineLength_m; MeasurePolygonArea_m2; GetLineCoordinates; GetPolygonCoordinates; GisEntityExists; GetCombinedPolygonsCoordinates; SelectLine
© 2024 IFER-Monitoring and Mapping Solutions