Packages

 

com.aspose.cad.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 or sets the values.

        Returns:
        The values.
      • setValues

        public void setValues(double[] value)

        Gets or 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 or sets 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)

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