| UtilsEnsureStyle Method |
Ensures the style existence.
Namespace: QsGemBoxAssembly: QsGemBox (in QsGemBox.dll) Version: 27.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 DocumentModel
- The document.
- styleName String
- Name of the style.
- createIfMissing Boolean
- if set to true [create if missing].
Return Value
StyleStyle.
See Also