property 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 objects of TImageEnVect. ImageEnAnnot
supports all objects of TImageEnVect, but are not understood by other applications.
// 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 );