ImageEn, unit iexBitmaps

TIEImageEnAnnot


Declaration

TIEImageEnAnnot = class;


Description

Contains the TImageEnView Layers or TImageEnVect objects loaded (or to save) from a TIFF or JPEG.
Using a TIEImageEnAnnot 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.


Demo

Demo  Demos\InputOutput\Annotations\Annotations.dpr


Example

// Save image and layers in TImageEnView to 'jpeg_with_layers.jpg'
ImageEnView1.IO.Params.ImageEnAnnot.CopyFromTImageEnView();
ImageEnView1.IO.SaveToFile('jpeg_with_layers.jpg');

// Load image and layers in 'jpeg_with_layers.jpg' to TImageEnView
ImageEnView1.IO.LoadFromFile('jpeg_with_layers.jpg');
ImageEnView1.IO.Params.ImageEnAnnot.CopyToTImageEnView();

Methods and Properties


Properties
Public Property  IsEmpty
Public Property  ObjectsCount
Public Property  HasVectorialObjects

Methods
Public Method  Clear
Public Method  CopyFromTImageEnView
Public Method  CopyFromTImageEnVect
Public Method  CopyToTImageEnView
Public Method  CopyToTImageEnVect
Public Method  DrawToBitmap