Click or drag to resize

UtilsEnsureStyle Method

Ensures the style existence.

Namespace:  QsGemBox
Assembly:  QsGemBox (in QsGemBox.dll) Version: 24.6.0.0 (24.6.0.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