TiffSByteType

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

public final class TiffSByteType extends TiffCommonArrayType

The tiff signed byte type.

Constructors

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

Methods

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

TiffSByteType(int tagId)

public TiffSByteType(int tagId)

Initializes a new instance of the TiffSByteType class.

Parameters:

ParameterTypeDescription
tagIdintThe tag id.

getValues()

public byte[] getValues()

Gets or sets the values.

Value: The data.

Returns: byte[]

setValues(byte[] value)

public void setValues(byte[] value)

Gets or sets the values.

Value: The data.

Parameters:

ParameterTypeDescription
valuebyte[]

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.