| 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
)
Public Shared Function EnsureStyle (
doc As DocumentModel,
styleName As String,
createIfMissing As Boolean
) As Style
public:
static Style^ EnsureStyle(
DocumentModel^ doc,
String^ styleName,
bool createIfMissing
)
static member EnsureStyle :
doc : DocumentModel *
styleName : string *
createIfMissing : bool -> Style
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:
StyleStyle.
See Also