Version

GetResolvedStyle<TStyle> Method (RichTextObjectHelpers)

Gets a resolved style which includes default and based on settings.
Syntax
'Declaration
 
Public Shared Function GetResolvedStyle(Of TStyle As RichTextStyleBase)( _
   ByVal style As TStyle, _
   Optional ByVal context As NodeBase _
) As TStyle
public static TStyle GetResolvedStyle<TStyle>( 
   TStyle style,
   NodeBase context
)
where TStyle: RichTextStyleBase

Parameters

style
The style to resolve.
context
An optional node to provide a document context

Type Parameters

TStyle

Return Value

A resolved style.
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