Packages

 

com.aspose.imaging.fileformats.emf.emfplus.records

Class EmfPlusSerializableObject

  • All Implemented Interfaces:
    com.aspose.internal.fileformats.emf.IRecord, Cloneable


    public final class EmfPlusSerializableObject
    extends EmfPlusObjectRecordType

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

    • Constructor Detail

      • EmfPlusSerializableObject

        public EmfPlusSerializableObject(EmfPlusRecord source)

        Initializes a new instance of the EmfPlusSerializableObject class.

        Parameters:
        source - The source.
    • Method Detail

      • 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.
        Overrides:
        getFlags in class EmfPlusRecord
        Returns:
        The flags.
      • setFlags

        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.
        Overrides:
        setFlags in class EmfPlusRecord
        Parameters:
        value - The flags.
      • 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).

      • setObjectGuid

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

      • getBufferSize

        public int getBufferSize()

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

      • setBufferSize

        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.

      • 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).

      • setBuffer

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