TiffTagData Property |
Namespace: Atalasoft.Imaging.Metadata
Exception | Condition |
---|---|
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. |
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.