TextFragmentState
Contents
[
Hide
]TextFragmentState class
Represents a text state of a text fragment.
The TextFragmentState type exposes the following members:
Constructors
| Name | Description |
|---|---|
| TextFragmentState(fragment) | Initializes a new instance of the TextFragmentState class |
Properties
| Name | Description |
|---|---|
| character_spacing | Gets or sets character spacing of the text, represented by the TextFragment object. |
| line_spacing | Gets or sets line spacing of the text. |
| horizontal_scaling | Gets or sets horizontal scaling of the text, represented by the TextFragment object. |
| subscript | Gets or sets subscript of the text, represented by the TextFragment object. |
| superscript | Gets or sets superscript of the text, represented by the TextFragment object. |
| word_spacing | Gets or sets word spacing of the text. |
| invisible | Gets or sets invisibility of the text. |
| rendering_mode | Gets or sets rendering mode of the text. |
| font_size | Gets or sets font size of the text, represented by the TextFragment object |
| font | Gets or sets font of the text, represented by the TextFragment object |
| foreground_color | Gets or sets foreground color of the text, represented by the TextFragment object |
| stroking_color | Gets or sets color stroking operations of TextFragment rendering (stroke text, rectangle border) |
| underline | Gets or sets underline for the text, represented by the TextFragment object |
| strike_out | Sets strikeout for the text, represented by the TextFragment object |
| background_color | Sets background color of the text, represented by the TextFragment object |
| font_style | Sets font style of the text, represented by the TextFragment object |
| horizontal_alignment | Gets or sets horizontal alignment for the text. |
| TAB_TAG | You can place this tag in text to declare tabulation. |
| TABSTOP_DEFAULT_VALUE | Default value of tabulation in widths of space character of default font. |
| tab_stops | Gets tabstops for the text. |
| formatting_options | Gets or sets formatting options. Setting of the options will be effective in generator scenarios only. |
| rotation | Gets or sets rotation angle in degrees. |
| draw_text_rectangle_border | Gets or sets if text rectangle border drawn flag. |
Methods
| Name | Description |
|---|---|
| apply_changes_from(text_state) | Applies settings from another textState. |
| measure_string(str) | Measures the string. |
See Also
- namespace aspose.pdf.text
- assembly Aspose.PDF