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.
|
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, equals, getAdditionalDataSize, getAlignedDataSize, getDataSize, getElementSize, getId, getTagId, hashCode, isValid, readTag, toString, writeTagpublic TiffASCIIType(int tagId)
Initializes a new instance of the TiffASCIIType class.
tagId - The tag id.public String getText()
Gets or sets the text.
public void setText(String value)
Gets or sets the text.
value - The text.public long getCount()
Gets the count of elements.
getCount in class TiffDataTypepublic int getTagType()
Gets the tag type.
getTagType in class TiffDataTypepublic Object getValue()
Gets or sets the value this data type contains.
getValue in class TiffDataTypecom.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 TiffDataTypevalue - The value.com.aspose.ms.System.ArgumentException - Only string is supported.public long writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
writeAdditionalData in class TiffDataTypedataStream - The data stream.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.