public final class TiffShortType extends TiffCommonArrayType implements Serializable
The tiff short type.
| Constructor and Description |
|---|
TiffShortType() |
TiffShortType(int tagId)
Initializes a new instance of the
TiffShortType class. |
| Modifier and Type | Method and Description |
|---|---|
long |
getElementSize()
Gets the element size in bytes.
|
int |
getTagType()
Gets the tag type.
|
Object |
getValue()
Gets or sets the value this data type contains.
|
int[] |
getValues()
Gets or sets the data.
|
com.aspose.ms.System.Array |
getValuesContainer()
Gets the values container.
|
void |
setValue(Object value)
Gets or sets the value this data type contains.
|
void |
setValues(int[] value)
Gets or sets the data.
|
long |
writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
|
getCount, getDataSizepublic TiffShortType()
public TiffShortType(int tagId)
Initializes a new instance of the TiffShortType class.
tagId - The tag id.public int[] getValues()
Gets or sets the data.
Value: The data.public void setValues(int[] value)
Gets or sets the data.
Value: The data.public long getElementSize()
Gets the element size in bytes.
Value: The element size in bytes.getElementSize in class TiffCommonArrayTypepublic com.aspose.ms.System.Array getValuesContainer()
Gets the values container.
Value: The values container.getValuesContainer in class TiffCommonArrayTypepublic int getTagType()
Gets the tag type.
Value: The tag type.getTagType in class TiffDataTypepublic Object getValue()
Gets or sets the value this data type contains.
getValue in class TiffDataTypecom.aspose.ms.System.ArgumentException - Only unsigned short array is supported.
Value:
The value.public void setValue(Object value)
Gets or sets the value this data type contains.
setValue in class TiffDataTypevalue - The value.com.aspose.ms.System.ArgumentException - Only unsigned short array is supported.
Value:
The value.public long writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
writeAdditionalData in class TiffDataTypedataStream - The data stream.Copyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.