Version

GetResolvedStyle Method (RichTextStyleBase)

Gets an equivalent style to the original which has all unspecified settings resolved to default values.
Syntax
'Declaration
 
Public Shared Function GetResolvedStyle( _
   ByVal originalStyle As RichTextStyleBase, _
   Optional ByVal context As NodeBase _
) As RichTextStyleBase
public static RichTextStyleBase GetResolvedStyle( 
   RichTextStyleBase originalStyle,
   NodeBase context
)

Parameters

originalStyle
The original style to resolve.
context
A node from the document to provide context to pick up the RootNode.Settings defaults.

Return Value

An equivalent style which has resolved settings.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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