EmfPlusSetPixelOffsetMode

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusRecord, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusPropertyRecordType

public final class EmfPlusSetPixelOffsetMode extends EmfPlusPropertyRecordType

The EmfPlusSetPixelOffsetMode record specifies how pixels are centered with respect to the coordinates of the drawing surface.

Constructors

ConstructorDescription
EmfPlusSetPixelOffsetMode(EmfPlusRecord source)Initializes a new instance of the EmfPlusSetPixelOffsetMode class.

Methods

MethodDescription
getPixelOffsetMode()Gets or sets the pixel offset mode value, from the PixelOffsetMode enumeration (section 2.1.1.26).
setPixelOffsetMode(byte value)Gets or sets the pixel offset mode value, from the PixelOffsetMode enumeration (section 2.1.1.26).

EmfPlusSetPixelOffsetMode(EmfPlusRecord source)

public EmfPlusSetPixelOffsetMode(EmfPlusRecord source)

Initializes a new instance of the EmfPlusSetPixelOffsetMode class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.

getPixelOffsetMode()

public byte getPixelOffsetMode()

Gets or sets the pixel offset mode value, from the PixelOffsetMode enumeration (section 2.1.1.26).

Value: The pixel offset mode.

Returns: byte

setPixelOffsetMode(byte value)

public void setPixelOffsetMode(byte value)

Gets or sets the pixel offset mode value, from the PixelOffsetMode enumeration (section 2.1.1.26).

Value: The pixel offset mode.

Parameters:

ParameterTypeDescription
valuebyte