TiffDataType

TiffDataType class

The tiff data type.

public abstract class TiffDataType : IComparable

Properties

Name Description
AlignedDataSize { get; } Gets the additional data size in bytes (in case the 12 bytes is not enough to fit the tag data).
abstract Count { get; } Gets the count of elements.
abstract DataSize { get; } Gets the additional data size in bytes (in case the 12 bytes is not enough to fit the tag data).
Id { get; } Gets tag id integer representation.
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

Name Description
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.
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