TiffUnknownType class

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

public sealed class TiffUnknownType : TiffDataType


Name Description
TiffUnknownType(TiffStreamReader, ushort, ushort, uint, uint) Initializes a new instance of the TiffUnknownType class.


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


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


Note the TiffUnknownType is not serialized back to stream.

See Also