Operation to measure a block of text broken into lines.

This class is unit agnostic so you can use whatever units you like and the result will be returned in terms of those units.

However typically you would provide point based measurements.

System.Object
   WebSupergoo.ABCpdf14.Operations.MeasureTextOperation

 

   
   
Method
Description
MeasureTextOperation MeasureTextOperation constructor.
MeasureText Measure a block of text broken into lines using end-of-line markers - return the length.

 

   
   
Property
Description
FontSize Gets or sets the size of the font.
CharSpacing Gets or sets the spacing to be applied between each character.
WordSpacing Gets or sets the spacing to be applied between each word.
Italic Gets or sets whether a synthetic italic style is to be applied.
Bold Gets or sets whether a synthetic bold style is to be applied.
Outline Gets or sets the size of any outline to be applied to the font.
PreserveSpace Gets or sets whether to preserve white space characters for plain text.
Kerning Gets or sets the kerning of type.
CharUsage Gets or sets the usage of characters.
Direction Gets or sets the text direction.
Font Gets or sets the font object.
LineCount Gets or sets the number of lines the text is broken into.
Lengths Gets or sets the list to hold the lengths of lines.