ENHMETAHEADER说明


typedef struct tagENHMETAHEADER
{
    DWORD   iType;              // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">记录类型</span>
    DWORD   nSize;              // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">结构大小</span>
    RECTL   rclBounds;          // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">外接矩形(单位是像素)</span>
    RECTL   rclFrame;           // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">图片矩形(单位是 0.01 毫米)}</span>

    DWORD   dSignature;         // <span style="font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; color: rgb(0, 128, 0); box-sizing: border-box;">文件签名</span><span style="line-height: 18.48px; white-space: pre-wrap; font-family: Arial, Helvetica, sans-serif;">.</span>
    DWORD   nVersion;           // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">文件版本</span>
    DWORD   nBytes;             // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">文件尺寸</span>
    DWORD   nRecords;           // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">记录数</span>
    WORD    nHandles;           // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">句柄数</span>
    WORD    sReserved;          // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">保留</span>
    DWORD   nDescription;       //<span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">说明文本的长度</span>

    DWORD   offDescription;     // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">说明文本的偏移量</span>
    DWORD   nPalEntries;        //<span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">调色板的元素数</span>
    SIZEL   szlDevice;          // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">分辨率(像素)</span>
    SIZEL   szlMillimeters;     // <span style="color: rgb(0, 128, 0); font-family: 'Courier New', Verdana, Arial; font-size: 14px; line-height: 18.48px; white-space: pre-wrap; background-color: rgb(255, 255, 255);">分辨率(毫米)</span>
#if(WINVER >= 0x0400)
    DWORD   cbPixelFormat;      // Size of PIXELFORMATDESCRIPTOR information
                                // This is 0 if no pixel format is set
    DWORD   offPixelFormat;     // Offset to PIXELFORMATDESCRIPTOR
                                // This is 0 if no pixel format is set
    DWORD   bOpenGL;            // TRUE if OpenGL commands are present in
                                // the metafile, otherwise FALSE
#endif /* WINVER >= 0x0400 */
#if(WINVER >= 0x0500)
    SIZEL   szlMicrometers;     // Size of the reference device in micrometers
#endif /* WINVER >= 0x0500 */

} ENHMETAHEADER, *PENHMETAHEADER, *LPENHMETAHEADER;HENHMETAFILE hEnhmetafile;
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值