Xceed Words for .NET v5.2 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Formatting Class / Parse Method
The XElement that contains the options to use for the Formatting object.
The base Formatting object to use, if any. By default, null.


In This Topic
    Parse Method (Formatting)
    In This Topic
    Creates a Formatting object using the provided XElement, and base Formatting if any.
    Syntax
    'Declaration
     
    
    Public Shared Function Parse( _
       ByVal rPr As XElement, _
       Optional ByVal formatting As Formatting, _
       Optional ByVal defaultFontFamily As String, _
       Optional ByVal document As Document _
    ) As Formatting
    'Usage
     
    
    Dim rPr As XElement
    Dim formatting As Formatting
    Dim defaultFontFamily As String
    Dim document As Document
    Dim value As Formatting
     
    value = Formatting.Parse(rPr, formatting, defaultFontFamily, document)

    Parameters

    rPr
    The XElement that contains the options to use for the Formatting object.
    formatting
    The base Formatting object to use, if any. By default, null.
    defaultFontFamily
    document

    Return Value

    A Formatting object.
    Remarks
    If a base Formatting object is provided, it will be modified and returned, otherwise a new Formatting object is created.
    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