public final class TiffASCIIType extends TiffDataType
The tiff ascii type.
Constructor and Description |
---|
TiffASCIIType(int tagId)
Initializes a new instance of the
TiffASCIIType 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).
|
int |
getTagType()
Gets the tag type.
|
String |
getText()
Gets or sets the text.
|
Object |
getValue()
Gets or sets the value this data type contains.
|
void |
setText(String value)
Gets or sets the text.
|
void |
setValue(Object value)
Gets or sets the value this data type contains.
|
long |
writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
|
public TiffASCIIType(int tagId)
Initializes a new instance of the TiffASCIIType
class.
tagId
- The tag id.public final String getText()
Gets or sets the text.
public final void setText(String value)
Gets or sets the text.
value
- The text.public long getCount()
Gets the count of elements.
getCount
in class TiffDataType
public int getTagType()
Gets 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).
getDataSize
in class TiffDataType
public Object getValue()
Gets or sets the value this data type contains.
getValue
in class TiffDataType
com.aspose.ms.System.ArgumentException
- Only string is supported.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 string is supported.public long writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
writeAdditionalData
in class TiffDataType
dataStream
- The data stream.