TiffIfdType

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

public final class TiffIfdType extends TiffCommonArrayType

Represents the TIFF Exif image file directory type class.

Constructors

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

Methods

MethodDescription
getValues()Gets or sets the values.
setValues(long[] value)Gets or sets the values.
getValuesContainer()Gets the values container.
getElementSize()Gets the element size in bytes.
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.

TiffIfdType(int tagId)

public TiffIfdType(int tagId)

Initializes a new instance of the TiffIfdType class.

Parameters:

ParameterTypeDescription
tagIdintThe tag id.

getValues()

public long[] getValues()

Gets or sets the values.

Value: The values.

Returns: long[]

setValues(long[] value)

public void setValues(long[] value)

Gets or sets the values.

Value: The values.

Parameters:

ParameterTypeDescription
valuelong[]

getValuesContainer()

public System.Array getValuesContainer()

Gets the values container.

Value: The values container.

Returns: com.aspose.ms.System.Array

getElementSize()

public byte getElementSize()

Gets the element size in bytes.

Value: The element size in bytes.

Returns: byte

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.