ImageEn, unit iexHelperFunctions

TImageHelper.IO

TImageHelper.IO


Declaration

property IO: TImageEnIO;


Description

Returns a TImageEnIO component, which provides all functionality for loading and saving images, and other I/O functions, such as printing and scanning.

Note:
You must add the iexHelperFunctions unit to your uses clause
Delphi/C++ 2005 or newer is required to use helper classes
To assign between TImage and TIEBitmap, you can use TIEBitmap.Assign and TIEBitmap.AssignTo


Examples

// Load a JPEG2000 into a TImage
Image1.IO.LoadFromFile( 'D:\im.j2k' );

// Retrieve an image from a Twain scanner
Image1.IO.AcquireParams.YResolution := 300;
Image1.IO.AcquireParams.XResolution := 300;
Image1.IO.Acquire();

// Prompt to print the current image
Image1.IO.DoPrintPreviewDialog( iedtDialog );



See Also

Proc