Click or drag to resize

Section Class

Represents a section of a document.
Inheritance Hierarchy

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class Section : DocumentContainer, ISection, 
	ICompositeObject, IDocumentObject

The Section type exposes the following members.

Constructors
Name Description
Public method Section
Initializes a new instance of the Section class.
Top
Properties
Name Description
Public property Body
Gets the section body.
Public property BreakCode
Returns or sets break code.
Public property ChildObjects
Gets the child objects.
(Overrides DocumentObject ChildObjects .)
Public property Columns
Get collection of columns which logically divide page on many. printing/publishing areas
Public property Count
Gets count of child object.
(Inherited from DocumentContainer .)
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property DocumentObjectType
Gets the type of the document object.
(Overrides DocumentObject DocumentObjectType .)
Public property EndnoteOptions
Gets or sets options that control numbering and positioning of endnotes in current section.
Public property FirstChild
Gets the first child of the Element.
(Inherited from DocumentObject .)
Public property FootnoteOptions
Gets or sets options that control numbering and positioning of footnote in current section.
Public property HeadersFooters
Gets headers/footers of current section.
Public property IsComposite
Indicating whether this instance is composite.
(Inherited from DocumentObject .)
Public property LastChild
Gets the last child of the Element.
(Inherited from DocumentObject .)
Public property NextSibling
Gets the next sibling.
(Inherited from DocumentObject .)
Public property Owner
Gets the owner of this entity.
(Inherited from DocumentObject .)
Public property PageSetup
Gets page Setup of current section.
Public property Paragraphs
Gets the paragraphs.
Public property PreviousSibling
Gets the previous sibling.
(Inherited from DocumentObject .)
Public property ProtectForm
Gets or sets a value indicating whether protect forms.
Public property Tables
Gets the tables.
Public property TextDirection
Gets or sets the text direction.
Protected property WidgetCollection (Overrides DocumentContainer WidgetCollection .)
Protected property XDLSHolder (Inherited from DocumentSerializable .)
Top
Methods
Name Description
Public method AddColumn
Adds new column to the section.
Public method AddParagraph
Adds the paragraph.
Public method AddTable
Adds the table.
Public method AddTable(Boolean)
Adds the table.
Public method Clone
Clones it self.
Protected method CloneImpl (Overrides DocumentSerializable CloneImpl .)
Public method CloneSectionPropertiesTo
Clones the properties of the current to the destination section.
Protected method CreateLayoutInfo (Overrides DocumentBase CreateLayoutInfo .)
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 GetIndex
Returns the zero-based index of the specified entity.
(Inherited from DocumentContainer .)
Public method GetNextWidgetSibling
Gets the next sibling.
(Inherited from DocumentObject .)
Public method GetPreviousWidgetSibling
Gets the previous widget sibling.
(Inherited from DocumentObject .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method InitXDLSHolder (Overrides DocumentSerializable InitXDLSHolder .)
Public method MakeColumnsSameWidth
Makes all columns in current section to be of equal width.
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method ReadXmlAttributes (Overrides DocumentSerializable ReadXmlAttributes(IXDLSAttributeReader) .)
Protected method ReadXmlContent (Overrides DocumentSerializable ReadXmlContent(IXDLSContentReader) .)
Protected method RestoreReference (Inherited from DocumentSerializable .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Public method ToString(String)
Exports the name and index in container of the object into a string in the specified seperator.
(Inherited from DocumentObject .)
Protected method WriteXmlAttributes (Overrides DocumentSerializable WriteXmlAttributes(IXDLSAttributeWriter) .)
Protected method WriteXmlContent (Overrides DocumentSerializable WriteXmlContent(IXDLSContentWriter) .)
Top
Fields
Name Description
Protected field m_doc (Inherited from OwnerHolder .)
Protected field m_internalData
Top
See Also