API函数详解:ENHMETAHEADER函数

类型定义
Type ENHMETAHEADER ' 88 Bytes
iType As Long
nSize As Long
rclBounds As RECTL
rclFrame As RECTL
dSignature As Long
nVersion As Long
nBytes As Long
nRecords As Long
nHandles As Integer
sReserved As Integer
nDescription As Long
offDescription As Long
nPalEntries As Long
szlDevice As SIZEL
szlMillimeters As SIZEL
End Type
Windows API函数功能说明
This structure is always the first record in an enhanced metafile, it contains information on the enhanced metafile data.
字段表
字段类型与说明
iTypeLong,Record type. Must be set to EMR_HEADER
nSizeLong,Size of this structure
rclBoundsRECTL,Dimensions, in device units, of the smallest rectangle that can be drawn around the picture stored in the metafile. Supplied by the GDI.
rclFrameRECTL,Dimensions, in 0.01 millimeter units, of a rectangle that surrounds the picture stored in the metafile. Must be supplied by the application that creates the metafile.
dSignatureLong,Signature of the metafile. Must be set to ENHMETA_SIGNATURE.
nVersionLong,Metafile version. The current version value is &H10000&.
nBytesLong,Size of the enhanced metafile
nRecordsLong,Number of records in the enhanced metafile
nHandlesInteger,Number of handles in the enhanced-metafile handle table.
sReservedInteger,Reserved. Set to zero.
nDescriptionLong,Number of characters in the array containing the description of the enhanced metafile. Zero if a description is not available
offDescriptionLong,Offset from the beginning of the ENHMETAHEADER structure to an array containing a description for the enhanced metafile.
nPalEntriesLong,Number of entries in the enhanced metafile's palette.
szlDeviceSIZEL,Resolution of the reference device, in pixels
szlMillimetersSIZEL,Resolution of the reference device, in millimeters.

上页:API函数详解:XFORM函数 下页:API函数详解:AbortPath函数

Windows API函数大全

Windows API函数首页Windows API函数按字母排列
控件与消息函数硬件与系统函数
设备场景函数绘图函数
位图、图标和光栅运算函数菜单函数
文本和字体函数打印函数
文件处理函数进程和线程函数
Windows消息函数网络函数
版权所有 © 中山市飞娥软件工作室 证书:粤ICP备09170368号