Draw a line through two points on the legend layer.

syntaxSyntax:
FWizLegend.DrawLine(p1, p2)

Parameters

Parameter Description
p1 A DlxPoint object with the coordinates specifying the line start point.
p2 A DlxPoint object with the coordinates specifying the line endpoint.

Return Value

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

Example

  Copy codeCopy code
var ctx = FWiz.GetLegendCtx();
ctx.DrawLine(new DlxPoint(-5, 0), new DlxPoint(5, 0));

See also