Packages

 

com.aspose.cad.fileformats.tiff.tifftagtypes

Class TiffUndefinedType

  • All Implemented Interfaces:
    Comparable


    public final class TiffUndefinedType
    extends TiffDataType

    The tiff undefined type.

    • Constructor Detail

      • TiffUndefinedType

        public TiffUndefinedType(int tagId)

        Initializes a new instance of the TiffUndefinedType class.

        Parameters:
        tagId - The tag id.
    • Method Detail

      • getData

        public byte[] getData()

        Gets or sets the data.

        Returns:
        The data.
      • setData

        public void setData(byte[] value)

        Gets or sets the data.

        Parameters:
        value - The data.
      • getCount

        public long getCount()

        Gets the count of elements.

        Specified by:
        getCount in class TiffDataType
        Returns:
        The count of elements.
      • getTagType

        public int getTagType()

        Gets the tag type.

        Specified by:
        getTagType in class TiffDataType
        Returns:
        The tag type.
      • getDataSize

        public long getDataSize()

        Gets the additional data size in bytes (in case the 12 bytes is not enough to fit the tag data).

        Specified by:
        getDataSize in class TiffDataType
        Returns:
        The additional data size in bytes.
      • getValue

        public Object getValue()

        Gets or sets the value this data type contains.

        Specified by:
        getValue in class TiffDataType
        Returns:
        The value.
        Throws:
        com.aspose.ms.System.ArgumentException - Only byte array is supported.
      • setValue

        public void setValue(Object value)

        Gets or sets the value this data type contains.

        Specified by:
        setValue in class TiffDataType
        Parameters:
        value - The value.
        Throws:
        com.aspose.ms.System.ArgumentException - Only byte array is supported.
      • writeAdditionalData

        public long writeAdditionalData(TiffStreamWriter dataStream)

        Writes the additional tag data.

        Specified by:
        writeAdditionalData in class TiffDataType
        Parameters:
        dataStream - The data stream.
        Returns:
        The actual bytes written.