TiffASCIIType
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.imaging.fileformats.tiff.TiffDataType
public final class TiffASCIIType extends TiffDataType
The tiff ascii type.
Constructors
Constructor | Description |
---|---|
TiffASCIIType(int tagId) | Initializes a new instance of the TiffASCIIType class. |
Methods
Method | Description |
---|---|
getText() | Gets or sets the text. |
setText(String value) | Gets or sets the text. |
getCount() | Gets the count of elements. |
getTagType() | Gets the tag type. |
getValue() | Gets or sets the value this data type contains. |
setValue(Object value) | Gets or sets the value this data type contains. |
writeAdditionalData(TiffStreamWriter dataStream) | Writes the additional tag data. |
TiffASCIIType(int tagId)
public TiffASCIIType(int tagId)
Initializes a new instance of the TiffASCIIType
class.
Parameters:
Parameter | Type | Description |
---|---|---|
tagId | int | The tag id. |
getText()
public String getText()
Gets or sets the text.
Returns: java.lang.String - The text.
setText(String value)
public void setText(String value)
Gets or sets the text.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The text. |
getCount()
public long getCount()
Gets the count of elements.
Returns: long - The count of elements.
getTagType()
public int getTagType()
Gets the tag type.
Returns: int - The tag type.
getValue()
public Object getValue()
Gets or sets the value this data type contains.
Returns: java.lang.Object - The value.
setValue(Object value)
public void setValue(Object value)
Gets or sets the value this data type contains.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.Object | The value. |
writeAdditionalData(TiffStreamWriter dataStream)
public long writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
Parameters:
Parameter | Type | Description |
---|---|---|
dataStream | TiffStreamWriter | The data stream. |
Returns: long - The actual bytes written.