Packages

 

com.aspose.imaging.fileformats.tiff.tifftagtypes

Class TiffUndefinedType

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

        Value: The data.
      • setData

        public void setData(byte[] value)

        Gets or sets the data.

        Value: The data.
      • getCount

        public long getCount()

        Gets the count of elements.

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

        public int getTagType()

        Gets the tag type.

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

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

        This is exact bytes count.

      • 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. Value: The value.
      • 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. Value: The value.
      • 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.