TerSetSectParam
Set section parameters.
boolean TerSetSectParam(hWnd, select, type, val, repaint)
int select; | Section id to apply changes. You can also set this parameter to SECT_CUR to edit the current section, or set it to SECT_ALL to apply changes to all sections in the document. |
int type; | Parameter type to set. Select one of the constants: |
| SP_LINE_BET_COL | Set to 1 to draw a line between columns. Applicable to a multi-column section only. |
| SP_LEFT_MARG | Get the section left margin value in twips. |
| SP_RIGHT_MARG | Get the section right margin value in twips. |
| SP_TOP_MARG | Get the section top margin value in twips. |
| SP_BOT_MARG | Get the section bottom margin value in twips. |
| SP_HDR_MARG | Get the distance of the header text from the top of the page in twips. |
| SP_FTR_MARG | Get the distance of the footer text from the bottom of the page in twips. |
int val; | New value for the parameter specified by the 'type' parameter. |
boolean repaint; | TRUE to repaint the screen after this operation |
Return Value: This function returns a TRUE value if successful.