Jump to content

HCINFO

From EDM2
Revision as of 21:00, 25 June 2023 by Martini (talk | contribs) (Fields)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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;