TiffUnknownType

TiffUnknownType class

The unknown tiff type. In case the tiff tag cannot be recognized this type is instantinated.

public sealed class TiffUnknownType : TiffDataType

Constructors

NameDescription
TiffUnknownType(TiffStreamReader, ushort, ushort, ulong, ulong)Initializes a new instance of the TiffUnknownType class.

Properties

NameDescription
override 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.
OffsetOrValue { get; }Gets the offset value for an additional data or value itself in case count is 1.
Stream { get; }Gets the stream to read additional data from.
TagId { get; }Gets the tag id.
override TagType { get; }Gets the tag type.
override Value { get; set; }Gets or sets the value this data type contains.

Methods

NameDescription
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 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.
override WriteAdditionalData(TiffStreamWriter)Writes the additional tag data.
WriteTag(TiffStreamWriter, long)Writes the tag data.

Remarks

Note the TiffUnknownType is not serialized back to stream.

See Also