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.
|
compareTo, deepClone, getAlignedDataSize, getId, getTagId, isPrivate_internalized, isValid, readTag, toString, writeTag
public TiffASCIIType(int tagId)
Initializes a new instance of the TiffASCIIType
class.
tagId
- The tag id.public String getText()
Gets or sets the text.
Value: The text.public void setText(String value)
Gets or sets the text.
Value: The text.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
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.
Value:
The value.public void setValue(Object value)
Gets or sets the value this data type contains.
setValue
in class TiffDataType
com.aspose.ms.System.ArgumentException
- Only string is supported.
Value:
The value.public long writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
writeAdditionalData
in class TiffDataType
dataStream
- The data stream.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.