Click or drag to resize
Style Class
Represents a style.
Inheritance Hierarchy

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1243
Syntax
public abstract class Style

The Style type exposes the following members.

Properties
  NameDescription
Public propertyBaseStyle
Gets or sets the style on which this style is based.
Public propertyDocument
Gets the owner document.
Public propertyName
Gets or sets the name of the style.
Public propertyStyleType
Gets the type of the style.
Top
Methods
Remarks

Style is a base class for ParagraphStyle, CharacterStyle and ListStyle.

All document styles are contained in a DocumentModel.Styles collection.

To create one of the predefined styles, use Style.CreateStyle(StyleTemplateType,DocumentModel) static method.

For more information see formattings and styles.

See Also