Click or drag to resize

ParagraphStyle Class

Represents a style of paragraph.
Inheritance Hierarchy

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

The ParagraphStyle type exposes the following members.

Constructors
Name Description
Public method ParagraphStyle
Initializes a new instance of the ParagraphStyle class.
Top
Properties
Name Description
Public property BaseStyle
Gets a base style of paragraph.
Public property CharacterFormat (Inherited from Style .)
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property Frame
Gets the frame format for the paragraph style.
Public property IsCustomStyle
Gets or sets a value indicating whether this instance is custom style.
(Inherited from Style .)
Public property IsHeading
Gets or sets a value indicating whether the style is heading style.
(Inherited from Style .)
Public property ListFormat
Gets the list format for the paragraph style.
Public property Name (Inherited from Style .)
Public property ParagraphFormat
Gets format for the paragraph style.
Public property StyleId
Gets or sets the style id.
(Inherited from Style .)
Public property StyleType
Gets the type of the style.
(Overrides Style StyleType .)
Protected property XDLSHolder (Inherited from DocumentSerializable .)
Top
Methods
Name Description
Public method ApplyBaseStyle(String) (Inherited from Style .)
Public method ApplyBaseStyle(BuiltinStyle) (Inherited from Style .)
Public method Clone
Clones the current ParagraphStyle object.
(Overrides Style Clone .)
Protected method CloneImpl (Overrides Style CloneImpl .)
Protected method CloneStyleTo (Overrides Style CloneStyleTo(Document, 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 Style InitXDLSHolder .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method ReadXmlAttributes (Inherited from Style .)
Protected method ReadXmlContent (Inherited from DocumentSerializable .)
Protected method RestoreReference (Inherited from Style .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Protected method WriteXmlAttributes (Inherited from Style .)
Protected method WriteXmlContent (Inherited from DocumentSerializable .)
Top
Fields
Name Description
Protected field m_baseStyle (Inherited from Style .)
Protected field m_doc (Inherited from OwnerHolder .)
Protected field m_isCustom (Inherited from Style .)
Protected field m_isPrimaryStyle (Inherited from Style .)
Protected field m_isSemiHidden (Inherited from Style .)
Protected field m_linkStyle (Inherited from Style .)
Protected field m_nextStyle (Inherited from Style .)
Protected field m_tapx (Inherited from Style .)
Protected field m_unhideWhenUsed (Inherited from Style .)
Top
See Also