Xceed Words for .NET v3.0 Documentation
Parse Method


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

) As Formatting
'Usage
 
Dim rPr As XElement

Dim formatting As Formatting

Dim defaultFontFamily As String

Dim value As Formatting

 

value = Formatting.Parse(rPr, formatting, defaultFontFamily)
public static Formatting Parse( 

   XElement rPr,

   Formatting formatting,

   string defaultFontFamily

)

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

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

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Formatting Class
Formatting Members