Xceed Words for .NET v5.2 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Formatting Class


In This Topic
    Formatting Class
    In This Topic
    Represents a group of formatting options that can be applied to text.
    Object Model
    Formatting ClassBorder ClassFormatting ClassFont ClassFormatting ClassShadingPattern Class
    Syntax
    'Declaration
     
    
    Public Class Formatting 
    'Usage
     
    
    Dim instance As Formatting
    public class Formatting 
    Inheritance Hierarchy

    System.Object
       Xceed.Document.NET.Formatting

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the Formatting class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets if the Bold format is applied in this Formatting.  
    Public PropertyGets or sets the Border applied in this Formatting.  
    Public PropertyGets or sets the CapsStyle applied in this Formatting.  
    Public PropertyGets or sets the Font Color applied in this Formatting.  
    Public PropertyGets or sets the Font Family applied in this Formatting.  
    Public PropertyGets or sets if the text is Hidden in this Formatting.  
    Public PropertyGets or sets the Highlight Color applied in this Formatting.  
    Public PropertyGets or sets if the Italic format is applied in this Formatting.  
    Public PropertyGets or sets the Kerning applied in this Formatting.  
    Public PropertyGets or sets the Language applied in this Formatting.  
    Public PropertyGets or sets the Misc settings applied in this Formatting.  
    Public PropertyGets or sets the Percentage Scale applied in this Formatting.  
    Public PropertyGets or sets the Position applied in this Formatting.  
    Public PropertyGets or sets the Script format applied in this Formatting.  
    Public PropertyGets or sets the ShaddingPattern of the Formatting object. The default value is null.  
    Public PropertyGets or sets the Size applied in this Formatting (in points).  
    Public PropertyGets or sets the text Spacing applied in this Formatting (in points).  
    Public PropertyGets or sets the StrikeThrough format applied in this Formatting.  
    Public PropertyGets or sets the id of the style for this formatting.  
    Public PropertyGets or sets the Underline Color applied in this Formatting.  
    Public PropertyGets or sets the Underline Style applied in this Formatting.  
    Top
    Public Methods
     NameDescription
    Public MethodCreates a clone of this Formatting instance.  
    Public MethodCompares this Formatting to another object.  
    Public Methodstatic (Shared in Visual Basic)Creates a Formatting object using the provided XElement, and base Formatting if any.  
    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