ApiSection
Represents the ApiSection class.
Methods
| Method | Returns | Description |
|---|---|---|
| GetClassType | "section" | Returns a type of the ApiSection class. |
| GetColumnsCount | number | Returns number of columns in this section. |
| GetColumnsSpaces | twips[] | Returns an array of distance values between the columns measured in twentieths of a point (1/1440 of an inch). |
| GetColumnsWidths | twips[] | Returns an array of column width values measured in twentieths of a point (1/1440 of an inch). |
| GetFooter | ApiDocumentContent | Returns the content for the specified footer type. |
| GetFooterDistance | twips | Returns the distance from the bottom edge of the page to the bottom edge of the footer. |
| GetHeader | ApiDocumentContent | Returns the content for the specified header type. |
| GetHeaderDistance | twips | Returns the distance from the top edge of the page to the top edge of the header. |
| GetNext | ApiSection | null | Returns the next section if exists. |
| GetPageHeight | twips | Gets page height for current section. |
| GetPageMarginBottom | twips | Returns the bottom page margin for all pages in the current section. |
| GetPageMarginLeft | twips | Returns the left page margin for all pages in the current section. |
| GetPageMarginRight | twips | Returns the right page margin for all pages in the current section. |
| GetPageMarginTop | twips | Returns the top page margin for all pages in the 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 | boolean | Removes the footer of the specified type from the current section. After removal, the footer will be inherited from |
| RemoveHeader | boolean | Removes the header of the specified type from the current section. After removal, the header will be inherited from |
| SetEqualColumns | boolean | Specifies that all the text columns in the current section are of equal width. |
| SetFooterDistance | boolean | Specifies the distance from the bottom edge of the page to the bottom edge of the footer. |
| SetHeaderDistance | boolean | Specifies the distance from the top edge of the page to the top edge of the header. |
| SetMargins | boolean | Specifies the page margins for all the pages in this section. Alias for ApiSection#SetPageMargins. |
| SetNotEqualColumns | boolean | Specifies that all the columns in the current section have the different widths. Number of columns is equal |
| SetPageMargins | boolean | Specifies the page margins for all the pages in this section. |
| SetPageSize | boolean | 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 | boolean | Specifies whether the current section in this document has the different header and footer for the section first page. |
| SetType | boolean | Specifies a type of the current section. The section type defines how the contents of the current |
| ToJSON | JSON | Converts the ApiSection object into the JSON object. |