HCINFO: Difference between revisions
Appearance
mNo edit summary |
|||
Line 27: | Line 27: | ||
;yPels:Number of pels between bottom and top clip limits. | ;yPels:Number of pels between bottom and top clip limits. | ||
;flAttributes:Attributes of the form identifier. | ;flAttributes:Attributes of the form identifier. | ||
== C Sample Source== | |||
<PRE> | |||
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; | |||
</PRE> | |||
[[Category:PM 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;