[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FormattingBag.HasDirectFormatting

HasDirectFormatting Method

HasDirectFormatting(string)

Gets whether the direct formatting applied for the property.

Declaration
protected bool HasDirectFormatting(string key = "")
Protected Function HasDirectFormatting(Optional key As String = "") As Boolean
Parameters
Type Name Description
string key

The short formatting property key.

Returns
Type Description
bool

true if the property is assigned in direct formatting.

HasDirectFormatting(string, string)

Gets whether the direct formatting contains any data for an object with specified keys.

Declaration
protected virtual bool HasDirectFormatting(string parentKey, string baseKey)
Protected Overridable Function HasDirectFormatting(parentKey As String, baseKey As String) As Boolean
Parameters
Type Name Description
string parentKey

The parent key of the object.

string baseKey

The base key of the object.

Returns
Type Description
bool

true if the direct formatting is applied to the object with specified keys.