Table of Contents

Method MeasureLeader

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

MeasureLeader(string, double, double, double, double, string, double?)

Asks the app what a multileader of words would take once MLEADER made it, its arrow at one point and its landing at another, in a multileader style of the drawing.

public CadRemoteMeasurement MeasureLeader(string style, double arrowX, double arrowY, double landingX, double landingY, string words, double? scale)

Parameters

style string

The name of the multileader style; null for the current one.

arrowX double

The X of the arrowhead's point.

arrowY double

The Y of the arrowhead's point.

landingX double

The X of the landing.

landingY double

The Y of the landing.

words string

The words.

scale double?

The scale; null for the one MLEADER gives a new multileader.

Returns

CadRemoteMeasurement

The box and the frames.

Exceptions

CadRemoteException

Thrown when the drawing is closed or the app refuses (no such style, no words).