TerGetSectParam
Get the section parameters.
int TerGetSectParam(hWnd, id, type)
int id; | Section id (0 to Total Sections-1) to retrieve parameters. |
int type; | The parameter to retrieve: |
| SP_FLAGS: | Returns the flags bits associated with the section id. Please use the AND parameter with the return value to check if one of the following flags is applicable: |
| SECT_NEW_PAGE: | Start the section on a new page. |
| SECT_RESTART_PAGE_NO | Restart page numbers. |
| SECT_VALIGN_CTR | Vertically center align the page text. |
| SECT_VALIGN_BOT | Vertically bottom align the page text. |
| SECT_LINE | Section uses line numbering. |
| SECT_SNAP_LINE_GRID | Text within the section is aligned to a grid. |
| SP_GUTTER_MARG | Gutter margin in twips. |
| SP_LINE_STEP: | Returns the steps in which the line numbering is applied when the SECT_LINE flag (see SP_FLAGS) is applied. A value of 0 or 1 indicates continuous line numbering. |
Return Value: The function returns the value for the requested parameter. It returns FP_ERROR to indicate an error condition.