EmfPixelFormat

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfStateRecordType

public final class EmfPixelFormat extends EmfStateRecordType

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

Constructors

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

Methods

MethodDescription
getPfd()Gets or sets a PixelFormatDescriptor object (section 2.2.22) that specifies pixel format data.
setPfd(EmfPixelFormatDescriptor value)Gets or sets a PixelFormatDescriptor object (section 2.2.22) that specifies pixel format data.

EmfPixelFormat(EmfRecord source)

public EmfPixelFormat(EmfRecord source)

Initializes a new instance of the EmfPixelFormat class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getPfd()

public EmfPixelFormatDescriptor getPfd()

Gets or sets a PixelFormatDescriptor object (section 2.2.22) that specifies pixel format data.

Returns: EmfPixelFormatDescriptor

setPfd(EmfPixelFormatDescriptor value)

public void setPfd(EmfPixelFormatDescriptor value)

Gets or sets a PixelFormatDescriptor object (section 2.2.22) that specifies pixel format data.

Parameters:

ParameterTypeDescription
valueEmfPixelFormatDescriptor