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

TerGetPageNumFmt

Retrieve the print format for the page number string.

int TerGetPageNumFmt(sect, format)
int sect;Section id to retrieve the page number format. You can also set this parameter to SECT_CUR to specify the current section.

Return Value: This function returns one of the following constants.

NBR_DECDecimal number
NBR_UPR_ROMANUppercase roman letters
NBR_LWR_ROMANLowercase roman letters
NBR_UPR_ALPHAUppercase alphabets
NBR_LWR_ALPHALowercase alphabets

A return value of -1 indicates an error condition.