typedef struct _PAGENUMBEROPTIONS
{
L_UINT uStructSize;
L_INT nPadding[2];
L_TCHAR *pszPageFormat;
L_HFONT hFont;
COLORREF crFontColor;
L_UINT uStartPageNumber;
L_UINT uPageCount;
PAGENUMBERLOCATION nLocation;
} PAGENUMBEROPTIONS, *pPAGENUMBEROPTIONS;
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:
- "Page ###PAGE_NUMBER### of ###PAGE_COUNT###"
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:
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document