ImageEn, unit iexBitmaps

TIEImagingAnnot


Declaration

TIEImagingAnnot = class;


Description

Contains the (Wang) imaging annotations loaded (or to save) from a TIFF.
Using a TIEImagingAnnot object you can create new objects, copy to or from a TImageEnView (as layers) or TImageEnVect (as vectorial objects), or just draw onto the bitmap.

Notes:
- TIEImagingAnnot supports only a subset of TImageEnView Layers/TImageEnVect objects. For full support, use TIEImageEnAnnot instead (available as the ImageEnAnnot property).
- Encoding of text annotations is controlled by UTF8EncodeImagingAnnot


Methods and Properties

- Assign
- Clear
- CopyFromTImageEnView
- CopyFromTImageEnVect
- CopyToTImageEnView
- CopyToTImageEnVect
- DrawToBitmap
- LoadFromStandardBuffer
- LoadFromStream
- Objects
- ObjectsCount
- SaveToStandardBuffer
- SaveToStream


Demo

Demo  Demos\InputOutput\Annotations\Annotations.dpr


Example

// Save image and layers in TImageEnView to 'TIFF_with_layers.tiff'
ImageEnView1.IO.Params.ImagingAnnot.CopyFromTImageEnView();
ImageEnView1.IO.SaveToFile('TIFF_with_layers.tiff');

// Load image and layers in 'TIFF_with_layers.tiff' to TImageEnView
ImageEnView1.IO.LoadFromFile('TIFF_with_layers.tiff');
ImageEnView1.IO.Params.ImagingAnnot.CopyToTImageEnView();