Field-Map Scripting

4.2.5.38 SelectLine

SelectLine function


Prototype:

function SelectLine (const X_m, Y_m :double; out ID_ :integer) :boolean;

Description:


Syntax (1):

variable := Layer.SelectLine (X, Y, ID);

Syntax (2):

Layer.SelectLine (X, Y, ID);


Part

Description


variable

A variable declared as a boolean



Layer

A reference to the Field-Map polygon layer as defined in Field-Map Project Manager


X



Y



ID


Return value:

true/false for syntax no. 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