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 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 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 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-2022 Aspose Pty Ltd. All Rights Reserved.