Declarationproperty ImagingAnnot: TIEImagingAnnot;
Provides access to the (Wang) imaging annotations loaded (or to be saved) from a TIFF.
Using the TIEImagingAnnot
object you can create new objects, copy to or from a TImageEnVect
(as vectorial objects) or TImageEnView
(as layers), or just draw onto the bitmap.
ImagingAnnot vs ImageEnAnnotImagingAnnot
handles annotations that are supported by other third party applications, but does not support all layer
types of TImageEnView
supports all layer
types, but are not understood by other applications.
Example// Load an image and all annotations from input.tif . This allows the annotations to be edited:
ImageEnVect1.IO.Params.ImagingAnnot.CopyToTImageEnVect( ImageEnVect1 );
// Load an image and all annotations from input.tif, but just draw annotation on the image (display only, cannot be edited):
ImageEnVect1.IO.Params.ImagingAnnot.DrawToBitmap( ImageEnVect1.IEBitmap, True );