EmfPlusComment

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

public final class EmfPlusComment extends EmfPlusRecord

The EmfPlusComment record specifies arbitrary private data.

Constructors

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

Methods

MethodDescription
getPrivateData()Gets or sets a DataSize-length byte array of private data.
setPrivateData(byte[] value)Gets or sets a DataSize-length byte array of private data.
getFlags()Gets or sets a 16-bit unsigned integer that is not used.
setFlags(short value)Gets or sets a 16-bit unsigned integer that is not used.

EmfPlusComment(EmfPlusRecord source)

public EmfPlusComment(EmfPlusRecord source)

Initializes a new instance of the EmfPlusComment class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.

getPrivateData()

public byte[] getPrivateData()

Gets or sets a DataSize-length byte array of private data. bytes of record-specific data that follows.

Returns: byte[]

setPrivateData(byte[] value)

public void setPrivateData(byte[] value)

Gets or sets a DataSize-length byte array of private data. bytes of record-specific data that follows.

Parameters:

ParameterTypeDescription
valuebyte[]

getFlags()

public short getFlags()

Gets or sets a 16-bit unsigned integer that is not used. This field SHOULD be set to zero and MUST be ignored upon receipt

Returns: short

setFlags(short value)

public void setFlags(short value)

Gets or sets a 16-bit unsigned integer that is not used. This field SHOULD be set to zero and MUST be ignored upon receipt

Parameters:

ParameterTypeDescription
valueshort