Skip to main content

ITextMeasurer

Interfaces

ITextMeasurer

Handler for measuring text.

Methods

isTextCropped()
isTextCropped(): boolean;

Indicates if text is cropped.

Returns

boolean

measureText()
measureText(scale, isExtendToBlackBox?): RectangleF;

Measures text.

Parameters
ParameterTypeDescription
scalenumberscale.
isExtendToBlackBox?booleanindicates if extend to black box.
Returns

RectangleF

measureTextFrames()
measureTextFrames(useActiveText): RectangleF;

Measures the text frame.

Parameters
ParameterTypeDescription
useActiveTextbooleantrue if you want to use the currently active text, false if the item's original text.
Returns

RectangleF

Was this page helpful?