public final class TiffDoubleType extends TiffCommonArrayType
The tiff double type.
Constructor and Description |
---|
TiffDoubleType(int tagId)
Initializes a new instance of the
TiffDoubleType class. |
Modifier and Type | Method and Description |
---|---|
long |
getElementSize()
Gets the element size in bytes.
|
int |
getTagType()
Gets the tag type.
|
Object |
getValue()
Gets the value this data type contains.
|
double[] |
getValues()
Gets the values.
|
com.aspose.ms.System.Array |
getValuesContainer()
Gets the values container.
|
void |
setValue(Object value)
Sets the value this data type contains.
|
void |
setValues(double[] value)
Sets the values.
|
long |
writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
|
getCount, getDataSize
public TiffDoubleType(int tagId)
Initializes a new instance of the TiffDoubleType
class.
tagId
- The tag id.public double[] getValues()
Gets the values.
public void setValues(double[] value)
Sets the values.
value
- The values.public com.aspose.ms.System.Array getValuesContainer()
Gets the values container.
getValuesContainer
in class TiffCommonArrayType
public int getTagType()
Gets the tag type.
getTagType
in class TiffDataType
public long getElementSize()
Gets the element size in bytes.
getElementSize
in class TiffCommonArrayType
public Object getValue()
Gets the value this data type contains.
getValue
in class TiffDataType
com.aspose.ms.System.ArgumentException
- Only double array is supported.public void setValue(Object value)
Sets the value this data type contains.
setValue
in class TiffDataType
value
- The value.com.aspose.ms.System.ArgumentException
- Only double array is supported.public long writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
writeAdditionalData
in class TiffDataType
dataStream
- The data stream.