TiffUndefinedType

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

public class TiffUndefinedType extends TiffDataType

The tiff undefined type.

Constructors

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

Methods

MethodDescription
getData()Gets or sets the data.
setData(byte[] value)Gets or sets the data.
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.

TiffUndefinedType(int tagId)

public TiffUndefinedType(int tagId)

Initializes a new instance of the TiffUndefinedType class.

Parameters:

ParameterTypeDescription
tagIdintThe tag id.

getData()

public byte[] getData()

Gets or sets the data.

Value: The data.

Returns: byte[]

setData(byte[] value)

public void setData(byte[] value)

Gets or sets the data.

Value: The data.

Parameters:

ParameterTypeDescription
valuebyte[]

getCount()

public long getCount()

Gets the count of elements.

Value: The count of elements.

Returns: long

getTagType()

public int getTagType()

Gets the tag type.

Value: The tag type.

Returns: int

getValue()

public Object getValue()

Gets or sets the value this data type contains.

Returns: java.lang.Object

setValue(Object value)

public void setValue(Object value)

Gets or sets the value this data type contains.

Parameters:

ParameterTypeDescription
valuejava.lang.Object

writeAdditionalData(TiffStreamWriter dataStream)

public long writeAdditionalData(TiffStreamWriter dataStream)

Writes the additional tag data.

Parameters:

ParameterTypeDescription
dataStreamTiffStreamWriterThe data stream.

Returns: long - The actual bytes written.