

public sealed class TextStyle
System.Object
Xceed.PdfLibrary.NET.TextStyle
| Name | Description | |
|---|---|---|
![]() | Brush | Gets the Brush that will be used to fill the glyphs. |
![]() | CharacterSpacing | Gets a number representing the glyph's displacement in unscaled text space units. |
![]() | Font | Gets the Font used to stylize the text. |
![]() | FontSize | Gets the Font’s size. |
![]() | HorizontalScaling | Gets the glyphs' stretching or compression factor. |
![]() | Leading | Gets the distance between the baseline of two adjacent lines of text |
![]() | Pen | Gets the Pen that will be used when drawing the glyphs. |
![]() | RotationAngle | Gets the rotation applied to the text. |
![]() | TextRise | Gets the number representing the distance between the baseline & its default location. |
![]() | WordSpacing | The word separator's displacement in unscaled text space units. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equals | Overloaded. Tests if two TextStyle objects are considered equal. |
![]() ![]() | GetDefault | Gets the default TextStyle. |
![]() | GetHashCode | Returns a hash code for the current instance. |
![]() | SetBrush | Sets the TextStyle's Brush. |
![]() | SetCharacterSpacing | Sets a number representing the glyph's displacement in unscaled text space units. |
![]() | SetFont | Overloaded. Sets the Font used by the TextStyle. |
![]() | SetFontSize | Sets the TextStyle’s Font size. |
![]() | SetHorizontalScaling | Sets a stretching or compression factor for the width of glyphs. |
![]() | SetLeading | Sets the distance between the baseline of two adjacent lines of text, in unscaled text space units. |
![]() | SetPen | Sets the Pen used by the TextStyle. |
![]() | SetRotationAngle | Sets the TextStyle’s rotation angle. |
![]() | SetTextRise | Sets the distance, in unscaled text space units, between the baseline & its default locatio. |
![]() | SetWordSpacing | Sets the number representing the word separator's displacement, in unscaled text space units. |
![]() ![]() | WithFont | Creates a TextStyle with a specific Font. |
![]() ![]() | WithFontAndColor | Overloaded. Creates a TextStyle with a Font and a Color. |
Equality | Equality operator. |
Inequality | Inequality operator. |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.