EmfDrawEscape

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.EmfEscapeRecordType

public final class EmfDrawEscape extends EmfEscapeRecordType

The EMR_DRAWESCAPE record passes arbitrary information to a printer driver. The intent is that the information will result in drawing being done.

Constructors

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

Methods

MethodDescription
getCjIn()Gets or sets a 32-bit unsigned integer specifying the number of bytes to pass to the printer driver.
setCjIn(int value)Gets or sets a 32-bit unsigned integer specifying the number of bytes to pass to the printer driver.
getData()Gets or sets the data to pass to the printer driver.
setData(byte[] value)Gets or sets the data to pass to the printer driver.

EmfDrawEscape(EmfRecord source)

public EmfDrawEscape(EmfRecord source)

Initializes a new instance of the EmfDrawEscape class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getCjIn()

public int getCjIn()

Gets or sets a 32-bit unsigned integer specifying the number of bytes to pass to the printer driver.

Returns: int

setCjIn(int value)

public void setCjIn(int value)

Gets or sets a 32-bit unsigned integer specifying the number of bytes to pass to the printer driver.

Parameters:

ParameterTypeDescription
valueint

getData()

public byte[] getData()

Gets or sets the data to pass to the printer driver. There MUST be cjIn bytes available.

Returns: byte[]

setData(byte[] value)

public void setData(byte[] value)

Gets or sets the data to pass to the printer driver. There MUST be cjIn bytes available.

Parameters:

ParameterTypeDescription
valuebyte[]