Xceed PDF Library for .NET Documentation v1.0
Xceed.PdfLibrary.NET Assembly / Xceed.PdfLibrary.NET Namespace / TextStyle Class
In This Topic
    TextStyle Class
    In This Topic
    A text style. This class cannot be inherited.
    Object Model
    TextStyle ClassFont ClassTextStyle ClassTextStyle ClassTextStyle ClassTextStyle ClassTextStyle ClassTextStyle ClassTextStyle ClassTextStyle ClassTextStyle Class
    Syntax
    public sealed class TextStyle 
    Inheritance Hierarchy

    System.Object
       Xceed.PdfLibrary.NET.TextStyle

    Public Properties
     NameDescription
    Public PropertyGets the color of the fill.  
    Public PropertyGets the font.  
    Public PropertyGets the font size.  
    Public Property default is 0 degrees : text going right. 90 degrees: text going up 180 degrees: text going left upside down 270 degrees: text going down.  
    Public PropertyGets the color of the stroke.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Overloaded. Tests if two TextStyle objects are considered equal.  
    Public Methodstatic (Shared in Visual Basic)Gets a default.  
    Public MethodReturns a hash code for this instance.  
    Public MethodSets a color.  
    Public MethodSets fill color.  
    Public MethodOverloaded. Sets a font.  
    Public MethodSets font size.  
    Public MethodSets rotation angle.  
    Public MethodSets stroke color.  
    Public Methodstatic (Shared in Visual Basic)With font.  
    Public Methodstatic (Shared in Visual Basic)With font and color.  
    Top
    Public Operators
    Equality operator.
    Inequality operator.
    Top
    Supported Frameworks

    .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.

    See Also