public final class EmfPlusSerializableObject extends EmfPlusObjectRecordType
The EmfPlusSerializableObject record defines an image effects parameter block that has been serialized into a data buffer.
Constructor and Description |
---|
EmfPlusSerializableObject(EmfPlusRecord source)
Initializes a new instance of the
EmfPlusSerializableObject class. |
Modifier and Type | Method and Description |
---|---|
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.
|
int |
getBufferSize()
Gets or sets a 32-bit unsigned integer that specifies the size in bytes of the 32-bitaligned Buffer field.
|
short |
getFlags()
Gets or sets a 16-bit unsigned integer that is not used.
|
EmfPlusImageEffectsObjectType |
getImageEffect()
Gets or sets the image effect.
|
GuidPacketRepresentation |
getObjectGuid()
Gets or sets the GUID packet representation value ([MS-DTYP] section 2.3.4.2)
for the image effect.
|
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.
|
void |
setBufferSize(int value)
Gets or sets a 32-bit unsigned integer that specifies the size in bytes of the 32-bitaligned Buffer field.
|
void |
setFlags(short value)
Gets or sets a 16-bit unsigned integer that is not used.
|
void |
setImageEffect(EmfPlusImageEffectsObjectType value)
Gets or sets the image effect.
|
void |
setObjectGuid(GuidPacketRepresentation value)
Gets or sets the GUID packet representation value ([MS-DTYP] section 2.3.4.2)
for the image effect.
|
getDataSize, getSize, getType, setDataSize, setSize
public EmfPlusSerializableObject(EmfPlusRecord source)
Initializes a new instance of the EmfPlusSerializableObject
class.
source
- The source.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.getFlags
in class EmfPlusRecord
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.setFlags
in class EmfPlusRecord
value
- The flags.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).
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).
public int getBufferSize()
Gets or sets a 32-bit unsigned integer that specifies the size in bytes of the 32-bitaligned Buffer field.
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.
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).
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).
public EmfPlusImageEffectsObjectType getImageEffect()
Gets or sets the image effect.
Value: The image effect.public void setImageEffect(EmfPlusImageEffectsObjectType value)
Gets or sets the image effect.
Value: The image effect.