TE Edit Control .NET Core / .NET Framework Help
Product page

TerSetSectBorder

Set the page border for a section.

bool TerSetSectBorder( sect, type, width, space, color, repaint)
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
Color color;Border color
bool repaint;true to refresh screen after this operation.

Return Value: The function returns true when successful.