[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FormattingBag.GetPropertyFormatting

GetPropertyFormatting Method

GetPropertyFormatting<T>(T, string)

Gets the formatting property value.

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

The default value of the property.

string key

The short formatting property key.

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.