Field-Map Scripting

4.4.6.8 DrawLine

DrawLine procedure


Prototype:

procedure DrawLine ( Line_ : TLineWrapper;

                    const LineStyle, LineWidth : integer;

                    const LineColor : string);


Description:

DrawLine procedure draws and shows line with predefined formatting in FieldMap Data collector map window.

Syntax:

Project.DrawLine (Line_ , LineStyle, LineWidth, LineColor);


Part

Description


Project

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


Line_

A reference to an instance of a TLineWrapper


LineStyle

Definition of style (shape of symbol) used for line visualisation


LineWidth

Width of line in px


LineColor

String expression defining the color of line






Return value:


none



See also:

GetPolygonIntersectArea_m2; OverlayPolygonLayers; TransferAttributeValuesFromPolygonsToPointsOrCentroids; GetPoint; GetCentroids; DrawText; DrawPoint; DrawLine; DrawPolygon; DrawCircle; DrawRectangle; FlashPolygon; FlashLine; FlashPoint; SelectedPointCount; SelectedPointID; SelectedLineCount; SelectedLineID; GetCurrentPosition; SetCurrentPosition; SetBasicExtent; GetMapExtent; GetMapFullExtent; GetBasicExtent; ZoomToPolygon; ZoomToLine; MapExtentAsVariant; AddReferencePoint; InvertColors; FindTargetHeight; SetCircularPlotBoundary; TrimLineByPlotBoundary; RefreshMap; RefreshMapRectangle; RefreshTrackingLayer; RefreshTrackingLayerRectangle; ScreenMilimeters2MapDistance_m; MapToScreen; SaveShapesToBlobs; SaveShapesOfCurrentPlotToBlobs; SaveShapesOfAllPlotsToBlobs; ProjectionToWGS84; WGS84ToProjection