public final class TiffUndefinedType extends TiffDataType
The tiff undefined type.
Constructor and Description |
---|
TiffUndefinedType(int tagId)
Initializes a new instance of the
TiffUndefinedType class. |
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Gets the count of elements.
|
byte[] |
getData()
Gets or sets the data.
|
long |
getDataSize()
Gets the additional data size in bytes (in case the 12 bytes is not enough to fit the tag data).
|
int |
getTagType()
Gets the tag type.
|
Object |
getValue()
Gets or sets the value this data type contains.
|
void |
setData(byte[] value)
Gets or sets the data.
|
void |
setValue(Object value)
Gets or sets the value this data type contains.
|
long |
writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
|
public TiffUndefinedType(int tagId)
Initializes a new instance of the TiffUndefinedType
class.
tagId
- The tag id.public byte[] getData()
Gets or sets the data.
Value: The data.public void setData(byte[] value)
Gets or sets the data.
Value: The data.public long getCount()
Gets the count of elements.
Value: The count of elements.getCount
in class TiffDataType
public int getTagType()
Gets the tag type.
Value: The tag type.getTagType
in class TiffDataType
public long getDataSize()
Gets the additional data size in bytes (in case the 12 bytes is not enough to fit the tag data).
Value: The additional data size in bytes.getDataSize
in class TiffDataType
This is exact bytes count.
public Object getValue()
Gets or sets the value this data type contains.
getValue
in class TiffDataType
com.aspose.ms.System.ArgumentException
- Only byte array is supported.
Value:
The value.public void setValue(Object value)
Gets or sets the value this data type contains.
setValue
in class TiffDataType
value
- The value.com.aspose.ms.System.ArgumentException
- Only byte array is supported.
Value:
The value.public long writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
writeAdditionalData
in class TiffDataType
dataStream
- The data stream.