TerSetSectBorder
Set the page border for a section.
BOOL TerSetSectBorder(hWnd, sect, type, width, space, color, repaint)
HWND hWnd; | Window handle to access |
int sect; | 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; | Border type. It can be one of the following constants: |
BRDRTYPE_SINGLE Single line border
BRDRTYPE_DBL Double line border BRDRTYPE_TRIPLE Triple line border
BRDRTYPE_SHADOW Shadow border
BRDRTYPE_THICK_THIN Thick-thin lines border
BRDRTYPE_THIN_THICK Thin-thick lines border
BRDRTYPE_THICK_THIN_THICK Thick-thin-thick border
BRDRTYPE_THIN_THICK_THIN Thin-thick-thin border
BRDRTYPE_NONE No Border
int width; | Line thickness in twips units |
int space; | Border distance from the edge of the page in twips units |
int color; | Border color |
BOOL repaint; | TRUE to refresh screen after this operation. |
Return Value: The function returns TRUE when successful.