Class TiffDataType

TiffDataType class

The TIFF data type.

public abstract class TiffDataType : IComparable

Properties

NameDescription
abstract Count { get; }Gets the count of elements.
virtual DataSize { get; }Gets the tag value size.
virtual ElementSize { get; }Gets the element size in bytes.
Id { get; }Gets tag id as number.
IsValid { get; }Gets a value indicating whether tag data is valid. The valid tag contains data which may be preserved. The invalid tag cannot be stored.
TagId { get; }Gets the tag id.
abstract TagType { get; }Gets the tag type.
abstract Value { get; set; }Gets or sets the value this data type contains.

Methods

NameDescription
static ReadTag(TiffStreamReader, long)Reads the tag data.
CompareTo(object)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
virtual DeepClone()Performs a deep clone of this instance.
virtual GetAdditionalDataSize(byte)Gets the additional tag value size in bytes (in case the tag can not fit the whole tag value).
GetAlignedDataSize(byte)Gets the data size aligned in 4-byte (int) or 8-byte (long) boundary.
override ToString()Returns a String that represents this instance.
abstract WriteAdditionalData(TiffStreamWriter)Writes the additional tag data.
WriteTag(TiffStreamWriter, long)Writes the tag data.

See Also