Packages

 

com.aspose.imaging.fileformats.tiff.tifftagtypes

Class TiffDoubleType

    • Constructor Detail

      • TiffDoubleType

        public TiffDoubleType(int tagId)

        Initializes a new instance of the TiffDoubleType class.

        Parameters:
        tagId - The tag id.
    • Method Detail

      • getValues

        public double[] getValues()

        Gets the values.

        Returns:
        The values.
      • setValues

        public void setValues(double[] value)

        Sets the values.

        Parameters:
        value - The values.
      • getValuesContainer

        public com.aspose.ms.System.Array getValuesContainer()

        Gets the values container.

        Specified by:
        getValuesContainer in class TiffCommonArrayType
        Returns:
        The values container.
      • getTagType

        public int getTagType()

        Gets the tag type.

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

        public long getElementSize()

        Gets the element size in bytes.

        Specified by:
        getElementSize in class TiffCommonArrayType
        Returns:
        The element size in bytes.
      • getValue

        public Object getValue()

        Gets the value this data type contains.

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

        public void setValue(Object value)

        Sets the value this data type contains.

        Specified by:
        setValue in class TiffDataType
        Parameters:
        value - The value.
        Throws:
        com.aspose.ms.System.ArgumentException - Only double 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.