HCINFO: Difference between revisions
Appearance
Created page with "Hardcopy-capabilities structure. ==Type== CHAR szFormname[32]; LONG cx; LONG cy; LONG xLeftClip; LONG yBottomClip; ..." |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
Hardcopy-capabilities structure. | Hardcopy-capabilities structure. | ||
==Type== | ==Type== | ||
CHAR szFormname[32]; | CHAR szFormname[32]; | ||
Line 11: | Line 12: | ||
LONG yPels; | LONG yPels; | ||
LONG flAttributes; | LONG flAttributes; | ||
==C Declaration Method== | ==C Declaration Method== | ||
typedef struct | typedef struct | ||
== | ==Fields== | ||
;szFormname[32]:Form name | |||
;cx:Width (left-to-right) in millimeters. | |||
;cy:Height (top-to-bottom) in millimeters. | |||
;xLeftClip:Left clip limit in millimeters. | |||
;yBottomClip:Bottom clip limit in millimeters. | |||
;xRightClip:Right clip limit in millimeters. | |||
;yTopClip:Top clip limit in millimeters. | |||
;xPels:Number of pels between left and right clip limits. | |||
;yPels:Number of pels between bottom and top clip limits. | |||
;flAttributes:Attributes of the form identifier. | |||
== C Sample Source== | |||
<PRE> | <PRE> | ||
typedef struct _HCINFO { | typedef struct _HCINFO { | ||
Line 20: | Line 34: | ||
LONG cx; /* Width (left-to-right) in millimeters. */ | LONG cx; /* Width (left-to-right) in millimeters. */ | ||
LONG cy; /* Height (top-to-bottom) in millimeters. */ | LONG cy; /* Height (top-to-bottom) in millimeters. */ | ||
LONG xLeftClip; /* Left clip limit in millimeters. */ | LONG xLeftClip; /* Left-clip limit in millimeters. */ | ||
LONG yBottomClip; /* Bottom clip limit in millimeters. */ | LONG yBottomClip; /* Bottom-clip limit in millimeters. */ | ||
LONG xRightClip; /* Right clip limit in millimeters. */ | LONG xRightClip; /* Right-clip limit in millimeters. */ | ||
LONG yTopClip; /* Top clip limit in millimeters. */ | LONG yTopClip; /* Top-clip limit in millimeters. */ | ||
LONG xPels; /* Number of pels between left and right clip limits. */ | LONG xPels; /* Number of pels between left-clip and right-clip limits. */ | ||
LONG yPels; /* Number of pels between bottom and top clip limits. */ | LONG yPels; /* Number of pels between bottom-clip and top-clip limits. */ | ||
LONG flAttributes; /* Attributes of the form identifier. */ | LONG flAttributes; /* Attributes of the form identifier. */ | ||
} HCINFO; | } HCINFO; | ||
</PRE> | </PRE> | ||
[[Category:Data type]] | [[Category:PM Data type]] |
Latest revision as of 21:00, 25 June 2023
Hardcopy-capabilities structure.
Type
CHAR szFormname[32]; LONG cx; LONG cy; LONG xLeftClip; LONG yBottomClip; LONG xRightClip; LONG yTopClip; LONG xPels; LONG yPels; LONG flAttributes;
C Declaration Method
typedef struct
Fields
- szFormname[32]
- Form name
- cx
- Width (left-to-right) in millimeters.
- cy
- Height (top-to-bottom) in millimeters.
- xLeftClip
- Left clip limit in millimeters.
- yBottomClip
- Bottom clip limit in millimeters.
- xRightClip
- Right clip limit in millimeters.
- yTopClip
- Top clip limit in millimeters.
- xPels
- Number of pels between left and right clip limits.
- yPels
- Number of pels between bottom and top clip limits.
- flAttributes
- Attributes of the form identifier.
C Sample Source
typedef struct _HCINFO { CHAR szFormname[32]; /* Form name. */ LONG cx; /* Width (left-to-right) in millimeters. */ LONG cy; /* Height (top-to-bottom) in millimeters. */ LONG xLeftClip; /* Left-clip limit in millimeters. */ LONG yBottomClip; /* Bottom-clip limit in millimeters. */ LONG xRightClip; /* Right-clip limit in millimeters. */ LONG yTopClip; /* Top-clip limit in millimeters. */ LONG xPels; /* Number of pels between left-clip and right-clip limits. */ LONG yPels; /* Number of pels between bottom-clip and top-clip limits. */ LONG flAttributes; /* Attributes of the form identifier. */ } HCINFO;