TiffSShortType

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

public final class TiffSShortType extends TiffCommonArrayType

The tiff signed short type.

Constructors

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

Methods

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

TiffSShortType(int tagId)

public TiffSShortType(int tagId)

Initializes a new instance of the TiffSShortType class.

Parameters:

ParameterTypeDescription
tagIdintThe tag id.

getValues()

public short[] getValues()

Gets or sets the values.

Value: The values.

Returns: short[]

setValues(short[] value)

public void setValues(short[] value)

Gets or sets the values.

Value: The values.

Parameters:

ParameterTypeDescription
valueshort[]

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.