EmfPixelFormat 类

Summary: The EMR_PIXELFORMAT record specifies the pixel format to use for graphics operations.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfPixelFormat

Inheritance: EmfStateRecordType

Constructors

Name描述
EmfPixelFormat(source)初始化 EmfPixelFormat 类的新实例。

Properties

NameTypeAccess描述
pfdEmfPixelFormatDescriptorr/w获取或设置 PixelFormatDescriptor 对象(第 2.2.22 节),该对象指定像素格式数据。
sizeintr/w获取或设置记录的大小
typeEmfRecordTyper/w获取或设置类型。

Methods

Name描述
create_from_record(source)初始化 EmfRecord 类的新实例。
create_from_type(type)初始化 EmfRecord 类的新实例。

Constructor: EmfPixelFormat(source)

 EmfPixelFormat(source) 

初始化 EmfPixelFormat 类的新实例。

Parameters:

参数TypeDescription
sourceEmfRecord来源。

Method: create_from_record(source) [static]

 create_from_record(source) 

初始化 EmfRecord 类的新实例。

Parameters:

参数TypeDescription
sourceEmfRecord来源。

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

初始化 EmfRecord 类的新实例。

Parameters:

参数TypeDescription
typeEmfRecordType记录类型。

Returns

TypeDescription
EmfRecord