Structure holding license stamp location data. More...
#include <devmode.h>
Public Member Functions | |
LicenseLocationInfo () | |
Constructor: sets default value for stamp location. | |
void | Clear () |
Resets the stamp location object. | |
POINT | LocationForPage (bool bFirstPage, SIZE szPageSize, SIZE szLicenseSize) const |
Calculates the current stamp location according to the page and stamp sizes (and the location information). | |
Public Attributes | |
LicenseLocation | eFirstPage |
Location of first page stamp. | |
POINT | ptFirstPage |
Location of user-defined first-page stamp (only used if eFirstPage is LLUserDefined). | |
LicenseLocation | eOtherPages |
Location of the other pages stamp. | |
POINT | ptOtherPages |
Location of user-defined other-page stamp (only used if eOtherPages is LLUserDefined). |
Structure holding license stamp location data.
Definition at line 54 of file devmode.h.
POINT LicenseLocationInfo::LocationForPage | ( | bool | bFirstPage, | |
SIZE | szPageSize, | |||
SIZE | szLicenseSize | |||
) | const |
Calculates the current stamp location according to the page and stamp sizes (and the location information).
bFirstPage | true if the requested information is for the first page | |
szPageSize | Size of the page | |
szLicenseSize | Size of the stamp |
Definition at line 120 of file devmode.cpp.
References eFirstPage, eOtherPages, ptFirstPage, and ptOtherPages.
Referenced by OEMSendPage(), and CCLicensePropPage::PageProc().