ImageEn, unit iexBitmaps

TIEImagingAnnot

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.

Note:
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

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();

Methods and Properties

Properties
Public Property  Objects
Public Property  ObjectsCount

Methods
Public Method  Assign
Public Method  Clear
Public Method  CopyFromTImageEnView
Public Method  CopyFromTImageEnVect
Public Method  CopyToTImageEnView
Public Method  CopyToTImageEnVect
Public Method  DrawToBitmap
Public Method  LoadFromStandardBuffer
Public Method  SaveToStandardBuffer