TiffDoubleType

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.tiff.TiffDataType, com.aspose.imaging.fileformats.tiff.tifftagtypes.TiffCommonArrayType

public final class TiffDoubleType extends TiffCommonArrayType

The tiff double type.

Constructors

ConstructorDescription
TiffDoubleType(int tagId)Initializes a new instance of the TiffDoubleType class.

Methods

MethodDescription
getValues()Gets the values.
setValues(double[] value)Sets the values.
getValuesContainer()Gets the values container.
getTagType()Gets the tag type.
getElementSize()Gets the element size in bytes.
getValue()Gets the value this data type contains.
setValue(Object value)Sets the value this data type contains.
writeAdditionalData(TiffStreamWriter dataStream)Writes the additional tag data.

TiffDoubleType(int tagId)

public TiffDoubleType(int tagId)

Initializes a new instance of the TiffDoubleType class.

Parameters:

ParameterTypeDescription
tagIdintThe tag id.

getValues()

public double[] getValues()

Gets the values.

Returns: double[] - The values.

setValues(double[] value)

public void setValues(double[] value)

Sets the values.

Parameters:

ParameterTypeDescription
valuedouble[]The values.

getValuesContainer()

public System.Array getValuesContainer()

Gets the values container.

Returns: com.aspose.ms.System.Array - The values container.

getTagType()

public int getTagType()

Gets the tag type.

Returns: int - The tag type.

getElementSize()

public byte getElementSize()

Gets the element size in bytes.

Returns: byte - The element size in bytes.

getValue()

public Object getValue()

Gets the value this data type contains.

Returns: java.lang.Object - The value.

setValue(Object value)

public void setValue(Object value)

Sets the value this data type contains.

Parameters:

ParameterTypeDescription
valuejava.lang.ObjectThe value.

writeAdditionalData(TiffStreamWriter dataStream)

public long writeAdditionalData(TiffStreamWriter dataStream)

Writes the additional tag data.

Parameters:

ParameterTypeDescription
dataStreamTiffStreamWriterThe data stream.

Returns: long - The actual bytes written.