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

TerSetSectBorder

Get the page border attribute for a section.

bool TerGetSectBorder( sect, out type, out width, out space, out color)
int sect;Section id to access. You can also set this parameter to SECT_CUR to specify the current section.
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

The following three parameters are not used when border type is BRDRTYPE_NONE

int width;The variable to retrieve the line thickness in twips units
int space;The variable to retrieve the border distance from the edge of the page in twips units
Color color;The variable to retrieve the border color

Return Value: The function returns true when successful.