public final class TiffFloatType extends TiffCommonArrayType
The tiff float type.
| Constructor and Description |
|---|
TiffFloatType(int tagId)
Initializes a new instance of the
TiffFloatType 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.
|
float[] |
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(float[] value)
Sets the values.
|
long |
writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
|
getCount, getDataSizepublic TiffFloatType(int tagId)
Initializes a new instance of the TiffFloatType class.
tagId - The tag id.public float[] getValues()
Gets the values.
public void setValues(float[] value)
Sets the values.
value - The values.public long getElementSize()
Gets the element size in bytes.
getElementSize in class TiffCommonArrayTypepublic com.aspose.ms.System.Array getValuesContainer()
Gets the values container.
getValuesContainer in class TiffCommonArrayTypepublic int getTagType()
Gets the tag type.
getTagType in class TiffDataTypepublic Object getValue()
Gets the value this data type contains.
getValue in class TiffDataTypecom.aspose.ms.System.ArgumentException - Only float array is supported.public void setValue(Object value)
Sets the value this data type contains.
setValue in class TiffDataTypevalue - The value.com.aspose.ms.System.ArgumentException - Only float array is supported.public long writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
writeAdditionalData in class TiffDataTypedataStream - The data stream.Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.