public final class TiffByteType extends TiffCommonArrayType
The tiff byte type.
Constructor and Description |
---|
TiffByteType(int tagId)
Initializes a new instance of the
TiffByteType 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.
|
byte[] |
getValues()
Gets or sets the values.
|
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(byte[] value)
Gets or sets the values.
|
long |
writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
|
getCount, getDataSize
public TiffByteType(int tagId)
Initializes a new instance of the TiffByteType
class.
tagId
- The tag id.public byte[] getValues()
Gets or sets the values.
public void setValues(byte[] value)
Gets or sets the values.
value
- The data.public com.aspose.ms.System.Array getValuesContainer()
Gets the values container.
getValuesContainer
in class TiffCommonArrayType
public long getElementSize()
Gets the element size in bytes.
getElementSize
in class TiffCommonArrayType
public int getTagType()
Gets the tag type.
getTagType
in class TiffDataType
public Object getValue()
Gets or sets the value this data type contains.
getValue
in class TiffDataType
com.aspose.ms.System.ArgumentException
- Only byte array is supported.public void setValue(Object value)
Gets or sets the value this data type contains.
setValue
in class TiffDataType
value
- The value.com.aspose.ms.System.ArgumentException
- Only byte array is supported.public long writeAdditionalData(TiffStreamWriter dataStream)
Writes the additional tag data.
writeAdditionalData
in class TiffDataType
dataStream
- The data stream.