EmfPlusSerializableObject

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

public final class EmfPlusSerializableObject extends EmfPlusObjectRecordType

The EmfPlusSerializableObject record defines an image effects parameter block that has been serialized into a data buffer.

Constructors

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

Methods

MethodDescription
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.
getObjectGuid()Gets or sets the GUID packet representation value ([MS-DTYP] section 2.3.4.2) for the image effect.
setObjectGuid(GuidPacketRepresentation value)Gets or sets the GUID packet representation value ([MS-DTYP] section 2.3.4.2) for the image effect.
getBufferSize()Gets or sets a 32-bit unsigned integer that specifies the size in bytes of the 32-bitaligned Buffer field.
setBufferSize(int value)Gets or sets a 32-bit unsigned integer that specifies the size in bytes of the 32-bitaligned Buffer field.
getBuffer()Gets or sets an array of BufferSize bytes that contain the serialized image effects parameter block that corresponds to the GUID in the ObjectGUID field.
setBuffer(byte[] value)Gets or sets an array of BufferSize bytes that contain the serialized image effects parameter block that corresponds to the GUID in the ObjectGUID field.
getImageEffect()Gets or sets the image effect.
setImageEffect(EmfPlusImageEffectsObjectType value)Gets or sets the image effect.

EmfPlusSerializableObject(EmfPlusRecord source)

public EmfPlusSerializableObject(EmfPlusRecord source)

Initializes a new instance of the EmfPlusSerializableObject class.

Parameters:

ParameterTypeDescription
sourceEmfPlusRecordThe source.

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.

Value: The flags.

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.

Value: The flags.

Parameters:

ParameterTypeDescription
valueshort

getObjectGuid()

public GuidPacketRepresentation getObjectGuid()

Gets or sets the GUID packet representation value ([MS-DTYP] section 2.3.4.2) for the image effect. This MUST correspond to one of the ImageEffects identifiers (section 2.1.3.1).

Returns: GuidPacketRepresentation

setObjectGuid(GuidPacketRepresentation value)

public void setObjectGuid(GuidPacketRepresentation value)

Gets or sets the GUID packet representation value ([MS-DTYP] section 2.3.4.2) for the image effect. This MUST correspond to one of the ImageEffects identifiers (section 2.1.3.1).

Parameters:

ParameterTypeDescription
valueGuidPacketRepresentation

getBufferSize()

public int getBufferSize()

Gets or sets a 32-bit unsigned integer that specifies the size in bytes of the 32-bitaligned Buffer field.

Returns: int

setBufferSize(int value)

public void setBufferSize(int value)

Gets or sets a 32-bit unsigned integer that specifies the size in bytes of the 32-bitaligned Buffer field.

Parameters:

ParameterTypeDescription
valueint

getBuffer()

public byte[] getBuffer()

Gets or sets an array of BufferSize bytes that contain the serialized image effects parameter block that corresponds to the GUID in the ObjectGUID field. This MUST be one of the Image Effects objects (section 2.2.3).

Returns: byte[]

setBuffer(byte[] value)

public void setBuffer(byte[] value)

Gets or sets an array of BufferSize bytes that contain the serialized image effects parameter block that corresponds to the GUID in the ObjectGUID field. This MUST be one of the Image Effects objects (section 2.2.3).

Parameters:

ParameterTypeDescription
valuebyte[]

getImageEffect()

public EmfPlusImageEffectsObjectType getImageEffect()

Gets or sets the image effect.

Value: The image effect.

Returns: EmfPlusImageEffectsObjectType

setImageEffect(EmfPlusImageEffectsObjectType value)

public void setImageEffect(EmfPlusImageEffectsObjectType value)

Gets or sets the image effect.

Value: The image effect.

Parameters:

ParameterTypeDescription
valueEmfPlusImageEffectsObjectType