ApiSection
Represents the ApiSection class.
Methods
Method | Returns | Description |
---|---|---|
GetClassType | "section" | Returns a type of the ApiSection class. |
GetFooter | ApiDocumentContent | Returns the content for the specified footer type. |
GetHeader | ApiDocumentContent | Returns the content for the specified header type. |
GetNext | ApiSection | null | Returns the next section if exists. |
GetPageHeight | twips | Gets page height for current section. |
GetPageWidth | twips | Gets page width for current section. |
GetPrevious | ApiSection | null | Returns the previous section if exists. |
GetStartPageNumber | number | Returns the start page number of the specified section. |
GetType | SectionBreakType | Returns the section break type. |
RemoveFooter | None | Removes the footer of the specified type from the current section. After removal, the footer will be inherited from \ the previous section, or if this is the first section in the document, no footer of the specified type will be presented. |
RemoveHeader | None | Removes the header of the specified type from the current section. After removal, the header will be inherited from\ the previous section, or if this is the first section in the document, no header of the specified type will be presented. |
SetEqualColumns | None | Specifies that all the text columns in the current section are of equal width. |
SetFooterDistance | None | Specifies the distance from the bottom edge of the page to the bottom edge of the footer. |
SetHeaderDistance | None | Specifies the distance from the top edge of the page to the top edge of the header. |
SetNotEqualColumns | None | Specifies that all the columns in the current section have the different widths. Number of columns is equal \ to the length of the aWidth array. The length of the aSpaces array MUST BE equal to (aWidth.length - 1). |
SetPageMargins | None | Specifies the page margins for all the pages in this section. |
SetPageSize | None | Specifies the properties (size and orientation) for all the pages in the current section. |
SetStartPageNumber | boolean | Sets the start page number for the specified section. |
SetTitlePage | None | Specifies whether the current section in this document has the different header and footer for the section first page. |
SetType | None | Specifies a type of the current section. The section type defines how the contents of the current \ section are placed relative to the previous section. |
ToJSON | JSON | Converts the ApiSection object into the JSON object. |