Click or drag to resize

Style Class

Inheritance Hierarchy

Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public abstract class Style : DocumentSerializable, 
	IStyle

The Style type exposes the following members.

Constructors
Name Description
Protected method Style
Initializes a new instance of the Style class
Top
Properties
Name Description
Public property CharacterFormat
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property IsCustomStyle
Gets or sets a value indicating whether this instance is custom style.
Public property IsHeading
Gets or sets a value indicating whether the style is heading style.
Public property Name
Public property StyleId
Gets or sets the style id.
Public property StyleType
Gets the type of the style.
Protected property XDLSHolder (Inherited from DocumentSerializable .)
Top
Methods
Name Description
Public method ApplyBaseStyle(String)
Public method ApplyBaseStyle(BuiltinStyle)
Public method Clone
Creates a deep copy of the current style object.
Protected method CloneImpl (Overrides DocumentSerializable CloneImpl .)
Protected method CloneStyleTo
Public method Static member CreateBuiltinStyle(BuiltinStyle, Document)
Public method Static member CreateBuiltinStyle(BuiltinStyle, StyleType, Document)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method InitXDLSHolder (Overrides DocumentSerializable InitXDLSHolder .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Static member NameToBuiltIn
Protected method ReadXmlAttributes (Overrides DocumentSerializable ReadXmlAttributes(IXDLSAttributeReader) .)
Protected method ReadXmlContent (Inherited from DocumentSerializable .)
Protected method RestoreReference (Overrides DocumentSerializable RestoreReference(String, Int32) .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Protected method WriteXmlAttributes (Overrides DocumentSerializable WriteXmlAttributes(IXDLSAttributeWriter) .)
Protected method WriteXmlContent (Inherited from DocumentSerializable .)
Top
Fields
See Also