TextState Class Documentation
class TextState : SystemIDisposableNamespace:Datalogics::PDFL
- Inherits from:
SystemIDisposable
Detailed Description
The text state includes parameters that affect text.
These parameters include character and word spacing, font, font size, and horizontal scale.
Uses types
Constructor & Destructor Documentation
TextState
TextState()Create a default text state
Property Documentation
CharacterSpacing
double CharacterSpacing[get, set]The current character spacing (corresponding to the Tc operator), in unscaled text space units.
FontSize
double FontSize[get, set]The current font size (corresponding to the Tf operator).
HScale
double HScale[get, set]The current horizontal scaling (corresponding to the Tz operator), as a percentage of the normal glyph width. Default is 100.
RenderMode
TextRenderMode RenderMode[get, set]The current text rendering mode (corresponding to the Tr operator).
TextRise
double TextRise[get, set]The current text rise (corresponding to the Ts operator), in unscaled text space units.
WordSpacing
double WordSpacing[get, set]The current word spacing (corresponding to the Tw operator), in unscaled text space units.
Member Function Documentation
Dispose
void Dispose()Returns:
void