Click or drag to resize

StyleCollectionGetOrAdd Method

Gets the Style that corresponds to given StyleTemplateType.

Namespace: SautinSoft.Document
Assembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.4.24
Syntax
public Style GetOrAdd(
	StyleTemplateType templateType
)

Parameters

templateType  StyleTemplateType
The StyleTemplateType instance.

Return Value

Style
Style that corresponds to given StyleTemplateType.
Remarks
If StyleCollection doesn't contain correspondent style, then new style will be added and returned.
See Also