typedef enum tag_EEPNMARGIN
{
EPN_MARGIN_NONE = 0,
EPN_MARGIN_TINY = 1,
EPN_MARGIN_SMALL = 2,
EPN_MARGIN_MEDIUM = 3,
EPN_MARGIN_LARGE = 4,
EPN_MARGIN_PRINTERDEFAULT = 5,
EPN_MARGIN_CUSTOM = 6,
}EEPNMARGIN, L_FAR * pEEPNMARGIN;
The EEPNMARGIN enumeration specifies margin options.
Value |
Meaning |
EPN_MARGIN_NONE |
Do not use margins. |
EPN_MARGIN_TINY |
Use tiny margin. |
EPN_MARGIN_SMALL |
Use small margin. |
EPN_MARGIN_MEDIUM |
Use medium margin. |
EPN_MARGIN_LARGE |
Use large margin. |
EPN_MARGIN_PRINTERDEFAULT |
Use the printer's default margin. |
EPN_MARGIN_CUSTOM |
Use custom margin. The user should pass a value to the nMarginOffset member of the EPNENHOPTIONS structure. This value represents the percent of the margin space to the paper space. For example, if 80 is passed to nMarginOffset, then the margins will be: Left Margin = 40% of the paper width. Top Margin = 40% of the paper height. |
Comments
This enumeration is used within the EPNENHOPTIONS structure.