public 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 TiffDataTypepublic 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).
Value: The additional data size in bytes.getDataSize in class TiffDataTypeThis is exact bytes count.
public Object getValue()
Gets or sets the value this data type contains.
getValue in class TiffDataTypecom.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 TiffDataTypevalue - 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 TiffDataTypedataStream - The data stream.Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.