Click or drag to resize
StyleCreateStyle Method
Creates one of the predefined styles.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1255
Syntax
public static Style CreateStyle(
	StyleTemplateType templateType,
	DocumentModel document
)

Parameters

templateType
Type: GemBox.DocumentStyleTemplateType
Type that determines predefined style.
document
Type: GemBox.DocumentDocumentModel
The owner document.

Return Value

Type: Style
Predefined style.
See Also