Click or drag to resize

UtilsEnsureStyle Method

Ensures the style existence.

Namespace:  QsGemBox
Assembly:  QsGemBox (in QsGemBox.dll) Version: 22.4.2.0 (22.4.2.0)
Syntax
public static Style EnsureStyle(
	DocumentModel doc,
	string styleName,
	bool createIfMissing
)

Parameters

doc
Type: DocumentModel
The document.
styleName
Type: SystemString
Name of the style.
createIfMissing
Type: SystemBoolean
if set to true [create if missing].

Return Value

Type: Style
Style.
See Also