TiffASCIIType

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.tiff.TiffDataType

public final class TiffASCIIType extends TiffDataType

The tiff ascii type.

Constructors

ConstructorDescription
TiffASCIIType(int tagId)Initializes a new instance of the TiffASCIIType class.

Methods

MethodDescription
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:

ParameterTypeDescription
tagIdintThe 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:

ParameterTypeDescription
valuejava.lang.StringThe 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:

ParameterTypeDescription
valuejava.lang.ObjectThe value.

writeAdditionalData(TiffStreamWriter dataStream)

public long writeAdditionalData(TiffStreamWriter dataStream)

Writes the additional tag data.

Parameters:

ParameterTypeDescription
dataStreamTiffStreamWriterThe data stream.

Returns: long - The actual bytes written.