The PAGENUMBEROPTIONS structure contains page number fonts and formatting information.
Size of this structure, in bytes. Use the sizeof operator to calculate this value.
Array that contains the distance btween the page numbers and the edge of the page, in pixels (X, Y). Defaults to (0, 0).
Character string contains speical page formats. Use the following formats:
For example, to create "Page 5" pass "Page ###PAGE_NUMBER###", or to create "Page 1 of 4" pass "Page ###PAGE_NUMBER### of ###PAGE_COUNT###".
Font to be used.
Color value that indicates the color of the page number. This must be set.
Start page number, pass 0 means page number 1, the default is 1.
Page count in bitmap list, pass 0 means total page count in bitmap list.
Enumeration value that specifies the location of the page numbers. Defaults to PAGENUMBERLOCATION_TOPLEFT. For possible values, see PAGENUMBERLOCATION.
pPAGENUMBEROPTIONS is a pointer to a PAGENUMBEROPTIONS structure. Where the function parameter type is pPAGENUMBEROPTIONS, you can declare a PAGENUMBEROPTIONS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pPAGENUMBEROPTIONS variable is necessary only if your program requires a pointer.
The structure is used by:
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries