LicenseLocationInfo Struct Reference

Structure holding license stamp location data. More...

#include <devmode.h>

List of all members.

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).

Detailed Description

Structure holding license stamp location data.

Definition at line 54 of file devmode.h.


Member Function Documentation

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).

Parameters:
bFirstPage true if the requested information is for the first page
szPageSize Size of the page
szLicenseSize Size of the stamp
Returns:
Location of stamp on the page

Definition at line 120 of file devmode.cpp.

References eFirstPage, eOtherPages, ptFirstPage, and ptOtherPages.

Referenced by OEMSendPage(), and CCLicensePropPage::PageProc().


The documentation for this struct was generated from the following files:

Generated on Mon Jun 18 12:40:44 2012 for CC PDF Converter by doxygen 1.6.1