ISection module

class ISection.ISection

Bases: ICompositeObject, IDocumentObject

Represents a section in a document.

abstract AddColumn(width: float, spacing: float) Column

Adds a column to the section with the specified width and spacing.

abstract AddParagraph() Paragraph

Adds a paragraph to the section.

abstract AddTable() Table

Adds a table to the section.

abstract property Body: Body

Gets the body of the section.

abstract property BreakCode: SectionBreakType

Gets the section break code of the section.

abstract Clone() Section

Creates a deep copy of the section.

abstract property Columns: ColumnCollection

Gets the collection of columns in the section.

abstract property HeadersFooters: HeadersFooters

Gets the headers and footers of the section.

abstract MakeColumnsSameWidth()

Makes all columns in the section have the same width.

abstract property PageSetup: PageSetup

Gets the page setup of the section.

abstract property Paragraphs: ParagraphCollection

Gets the collection of paragraphs in the section.

abstract property ProtectForm: bool

Gets a value indicating whether the section is protected.

abstract property Tables: TableCollection

Gets the collection of tables in the section.