[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FormattingBag.GetDirectFormatting

GetDirectFormatting Method

GetDirectFormatting<T>(string, T)

Gets the direct formatting property value.

Declaration
protected T GetDirectFormatting<T>(string key, T defaultValue)
Protected Function GetDirectFormatting(Of T)(key As String, defaultValue As T) As T
Parameters
Type Name Description
string key

The short formatting property key.

T defaultValue

The default value of the property.

Returns
Type Description
T

A value of the property, if the property key not found, returns defaultValue.

Type Parameters
Name Description
T

A type of the returning value.