[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.FormattingBag.HasDirectFormattingWithIgnore

HasDirectFormattingWithIgnore Method

HasDirectFormattingWithIgnore(string, string)

Gets whether the attached FormattingBag class has direct formatting in the shape except ignored key.

Declaration
protected bool HasDirectFormattingWithIgnore(string baseKey, string ignoredKeyPart)
Protected Function HasDirectFormattingWithIgnore(baseKey As String, ignoredKeyPart As String) As Boolean
Parameters
Type Name Description
string baseKey

The base formatting key of the class.

string ignoredKeyPart

The ignored formatting key (or key part) of the class.

Returns
Type Description
bool

True if the attached FormattingBag class has direct formatting in the shape, otherwise false. Keys contained ignoredKeyPart are ignored.

HasDirectFormattingWithIgnore(string, string, string)

Gets whether the attached FormattingBag class has direct formatting in the shape except ignored key.

Declaration
protected bool HasDirectFormattingWithIgnore(string parentKey, string baseKey, string ignoredKeyPart)
Protected Function HasDirectFormattingWithIgnore(parentKey As String, baseKey As String, ignoredKeyPart As String) As Boolean
Parameters
Type Name Description
string parentKey

The parent key of the object.

string baseKey

The base formatting key of the class.

string ignoredKeyPart

The ignored formatting key (or key part) of the class.

Returns
Type Description
bool

True if the attached FormattingBag class has direct formatting in the shape, otherwise false. Keys contained ignoredKeyPart are ignored.