EmfPixelFormat Class

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

Aspose.Imaging Version: 24.5.0

Constructors

NameDescription
EmfPixelFormat(source)Initializes a new instance of the EmfPixelFormat class.

Properties

NameTypeAccessDescription
pfdEmfPixelFormatDescriptorr/wGets or sets a PixelFormatDescriptor object (section 2.2.22) that specifies pixel format data.
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.

Methods

NameDescription
create_from_record(source)Initializes a new instance of the EmfRecord class.
create_from_type(type)Initializes a new instance of the EmfRecord class.

Constructor: EmfPixelFormat(source)

 EmfPixelFormat(source) 

Initializes a new instance of the EmfPixelFormat class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord