public final class TiffUnknownType extends TiffDataType
The unknown tiff type. In case the tiff tag cannot be recognized this type is instantinated.
Note the TiffUnknownType is not serialized back to stream.
| Constructor and Description |
|---|
TiffUnknownType(TiffStreamReader stream,
int tagType,
int tagId,
long count,
long offsetOrValue)
Initializes a new instance of the
TiffUnknownType class. |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount()
Gets the count of elements.
|
long |
getDataSize()
Gets the additional data size in bytes (in case the 12 bytes is not enough to fit the tag data).
|
long |
getOffsetOrValue()
Gets the offset value for an additional data or value itself in case count is 1.
|
TiffStreamReader |
getStream()
Gets the stream to read additional data from.
|
int |
getTagType()
Gets the tag type.
|
Object |
getValue()
Gets or sets the value this data type contains.
|
void |
setValue(Object value)
Gets or sets the value this data type contains.
|
String |
toString()
Returns a
System.String that represents this instance. |
long |
writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
|
public TiffUnknownType(TiffStreamReader stream, int tagType, int tagId, long count, long offsetOrValue)
Initializes a new instance of the TiffUnknownType class.
stream - The stream to read from.tagType - Type of the tag.tagId - The tag id.count - The count value.offsetOrValue - The offset or value.public long getCount()
Gets the count of elements.
Value: The count of elements.getCount in class TiffDataTypepublic long getOffsetOrValue()
Gets the offset value for an additional data or value itself in case count is 1.
Value: The offset or value.public TiffStreamReader getStream()
Gets the stream to read additional data from.
Value: The stream to read data from.public int getTagType()
Gets the tag type.
Value: The tag type.getTagType in class TiffDataTypepublic long getDataSize()
Gets the additional data size in bytes (in case the 12 bytes is not enough to fit the tag data).
getDataSize in class TiffDataTypeThis is exact bytes count.
com.aspose.ms.System.NotImplementedException - Value:
The additional data size in bytes.public Object getValue()
Gets or sets the value this data type contains.
getValue in class TiffDataTypecom.aspose.ms.System.NotImplementedException - Value:
The value.public void setValue(Object value)
Gets or sets the value this data type contains.
setValue in class TiffDataTypevalue - The value.com.aspose.ms.System.NotImplementedException - Value:
The value.public long writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
writeAdditionalData in class TiffDataTypedataStream - The data stream.public String toString()
Returns a System.String that represents this instance.
toString in class TiffDataTypeSystem.String that represents this instance.