EmfType 枚举
定义
public enum class EmfType
public enum EmfType
type EmfType =
Public Enum EmfType
- 继承
字段
EmfOnly | 3 | 指定图元文件中的所有记录都是 EMF 记录,它们可通过 GDI 或 GDI+ 来显示。Specifies that all the records in the metafile are EMF records, which can be displayed by GDI or GDI+. |
EmfPlusDual | 5 | 指定图元文件中所有的 EMF+ 记录都与一个替换的 EMF 记录相关联。Specifies that all EMF+ records in the metafile are associated with an alternate EMF record. EmfPlusDual 类型的图元文件可通过 GDI 或 GDI+ 来显示。Metafiles of type EmfPlusDual can be displayed by GDI or by GDI+. |
EmfPlusOnly | 4 | 指定图元文件中的所有记录都是 EMF+ 记录,它们可通过 GDI+ 显示而不能通过 GDI 显示。Specifies that all the records in the metafile are EMF+ records, which can be displayed by GDI+ but not by GDI. |
注解
GDI + 使用增强的 Windows 图元文件图像格式 (EMF)。GDI+ uses the enhanced Windows metafile image format (EMF). EMF 格式包含用于在图元文件中嵌入数据的注释机制。The EMF format contains a comment mechanism for embedding data within the metafile. 此注释机制用于在 EMF 文件中嵌入 GDI + 记录。This comment mechanism is used to embed GDI+ records within an EMF file. 包含 GDI + 数据的 EMF 文件称为 EMF + files。EMF files that contain GDI+ data are called EMF+ files. 无法识别注释数据的应用程序会跳过注释记录, 并呈现他们所理解的记录。Applications that do not recognize the comment data skip the comment records and render the records they do understand. 如果按 GDI + 播放 EMF + 文件, 则使用 GDI + 记录呈现图元文件;否则, 将使用 GDI 记录 (如果存在)。If the EMF+ file is played back by GDI+, then the GDI+ records are used to render the metafile; otherwise, the GDI records (if present) are used.