Click or drag to resize

TiffTagData Property

Gets or sets the data of a specific TIFF tag.

Namespace:  Atalasoft.Imaging.Metadata
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public virtual Object Data { get; set; }

Property Value

Type: Object
The data of this TIFF tag.
Exceptions
ExceptionCondition
Thrown when the conversion from the data passed in to the actual type causes an overflow.
Thrown when the an attempt was made to convert the data to the appropriate type, but failed.
Thrown when the data passed is not the correct type.
Remarks

TIFF Tag data can is stored in the type which it was read from a file.

The TIFF Tag Data can contain an offset value which is a reference pointer to a location in the TIFF File with the actual image data. In this case the IsReference property is true and the actual data can be obtained by invoking the LoadReferenceTagData(TiffTag) in the TiffDirectory class.

The TIFF Tag Data can be an array of values of the appropriate type. To test if the Data contains an array invoke the GetType().IsArray() method.

See Also