TiffSLongType

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

public final class TiffSLongType extends TiffCommonArrayType

The tiff signed long type.

Constructors

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

Methods

MethodDescription
getValues()Gets or sets the values.
setValues(int[] 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.

TiffSLongType(int tagId)

public TiffSLongType(int tagId)

Initializes a new instance of the TiffSLongType class.

Parameters:

ParameterTypeDescription
tagIdintThe tag id.

getValues()

public int[] getValues()

Gets or sets the values.

Value: The values.

Returns: int[]

setValues(int[] value)

public void setValues(int[] value)

Gets or sets the values.

Value: The values.

Parameters:

ParameterTypeDescription
valueint[]

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.