Adds a vertex to the figure drawn on the legend layer.

syntaxSyntax:
FWizLegend.DrawVertex(point, bStart=false)

Parameters

Parameter Description
point A DlxPoint object with the coordinates specifying the point.
bStart If true, the point is considered the starting vertex of a new figure.

Return Value

If an error occurs it returns false otherwise it returns true.

Remarks

The functions DrawArc and DrawLine update the current vertex of the figure.

If the function is called without parameters the current vertex is reset.

Example

  Copy codeCopy code
var ctx = FWiz.GetLegendCtx();
ctx.DrawVertex(new DlxPoint(-10, 0));
ctx.DrawVertex(new DlxPoint(-5, 0));
ctx.DrawArc(new DlxPoint(0, 0), 5, 0, 180, 0, true);
ctx.DrawVertex(new DlxPoint(10, 0));

See also