The IEImageList type exposes the following methods.

Methods

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
Acquire(Boolean)
Performs image acquisition from selected scanner. This is the same of AcquireFromTWain().
AcquireFromTWain(Boolean)
Performs image acquisition from selected scanner. This is the same of Acquire().
AcquireFromWIA()()()()
Performs image acquisition from WIA scanners.
AppendImage()()()()
Appends a new image at last position and returns the new image position. AppendImage doesn't create the bitmap.
AppendImage(String)
Append a new image loaded from file at last position and returns the new image position.
AppendImage(IEImage)
Appends a new image cloning the specified one.
AppendImage(Int32, Int32, IEImage..::..PixelFormat)
Appends a new image with specified size and pixelformat at last position and returns the new image position.
AppendSplit(IEImage, Int32, Int32)
Splits source image in cell of specified size and add each cell.
AppendSplit(IEImage, Int32, Int32, Int32)
Splits source image in cell of specified size and add each cell.
Clear()()()()
Clear removes all images.
CopyTo(Int32, IEImage)
Copy an image to the specified IEImage object.
CreateMorphingSequence(IEImage, IEImage, Int32)

This method creates a sequence of frames which are the transformation of the source image to target image. Images pixelFormat must be 24 bit RGB (true color) and have the same size.

Also source and target must contains IEObjectLine objects (the same number) which describe the transformation. You should create line objects in the same order on boths IEImage components.

DeleteImage(Int32)
Deletes Index image. Free bitmap memory.
Dispose()()()()
The destructor
DoFileFormatsPreviews(Int32, IOPages)
Executes file format parameters preview dialog.
DuplicateCompressionInfo()()()()
DuplicateCompressionInfo clones the compression information of page 0 to all pages.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExecuteOpenDialog(String, String, Boolean, Int32)

Displays a modal Windows dialog box for selecting graphics files, used for loading.

This dialog includes a rectangular preview region where all IEvolution supported file formats all displayed.

If the file is a animated GIF, AVI film or a multi page TIFF, all image will be showed in sequence: the "Play" button will be activated to animated the sequence.

The dialog displays image informations as dimensions, colors, dpi, file type, compression and file-memory sizes.

ExecuteOpenDialog(String, String, Boolean, Int32, Boolean)

Displays a modal Windows dialog box for selecting graphics files, used for loading.

This dialog includes a rectangular preview region where all IEvolution supported file formats all displayed.

If the file is a animated GIF, AVI film or a multi page TIFF, all image will be showed in sequence: the "Play" button will be activated to animated the sequence.

The dialog displays image informations as dimensions, colors, dpi, file type, compression and file-memory sizes.

ExecuteOpenDialog(String, String, Boolean, Int32, String, String, String)

Displays a modal Windows dialog box for selecting graphics files, used for loading.

This dialog includes a rectangular preview region where all IEvolution supported file formats all displayed.

If the file is a animated GIF, AVI film or a multi page TIFF, all image will be showed in sequence: the "Play" button will be activated to animated the sequence.

The dialog displays image informations as dimensions, colors, dpi, file type, compression and file-memory sizes.

ExecuteSaveDialog(String, String, Boolean, Int32)

Displays a modal Windows dialog box for selecting graphics files, used for saving.

This dialog includes a rectangular preview region where all IEvolution supported file formats all displayed.

If the file is a animated GIF, AVI film or a multi page TIFF, all image will be showed in sequence: the "Play" button will be activated to animated the sequence.

The dialog displays image informations as dimensions, colors, dpi, file type, compression and file-memory sizes.

ExecuteSaveDialog(String, String, Boolean, Int32, String, String, String)

Displays a modal Windows dialog box for selecting graphics files, used for saving.

This dialog includes a rectangular preview region where all IEvolution supported file formats all displayed.

If the file is a animated GIF, AVI film or a multi page TIFF, all image will be showed in sequence: the "Play" button will be activated to animated the sequence.

The dialog displays image informations as dimensions, colors, dpi, file type, compression and file-memory sizes.

FillFromDirectory(String)

FillFromDirectory automatically loads all known images inside Directory.

Sets FileName property with the image full path and BottomText with the file name.

FillFromDirectory(String, Boolean)

FillFromDirectory automatically loads all known images inside Directory.

Sets FileName property with the image full path and BottomText with the file name.

FillFromDirectory(String, Boolean, Boolean)

FillFromDirectory automatically loads all known images inside Directory.

Sets FileName property with the image full path and BottomText with the file name.

FillFromDirectory(String, Boolean, Boolean, String)

FillFromDirectory automatically loads all known images inside Directory.

Sets FileName property with the image full path and BottomText with the file name.

Finalize()()()()
The destructor
(Overrides Object..::..Finalize()()()().)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetImage(Int32)

GetImage creates a IEImage object from the image contained at specified index.

Each changement you make in the bitmap will be visible after you have called Update() method.

You have to call ReleaseImage to free the IEImage object.

GetImageInfo(Int32)
Returns an ImageInfoClass object that contains some thumbnail information
GetImagesOnDemand(String, Boolean)

Open a video file getting each frame on demand, when it needs to be displayed or used.

All DirectShow formats are supported (avi, mpeg, wmv,...).

GetImageToFile(Int32, String)
Saves the specifies frame (image) to file. The file format is given by the name extension.
GetIOParams(Int32)
The GetIOParams return IOParams object that contains the input/ouput file format parameters
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ImageHash(Int32)
Returns the MD5 Hash of image.
InsertImage(Int32)
Inserts a new image in Index position (0 is the first). InsertImage doesn't create the bitmap.
LoadFromFiles(String)
Loads multiple files separated by '|' character. This is the same of LoadFromFiles with autoDetect=false and loadWhenViewed=false.
LoadFromFiles(String, Boolean, Boolean)
Loads multiple files separated by '|' character.
LoadFromURL(String)

LoadFromURL loads a multipage file from the network using the http protocol, specifing the URL.

This function doesn't support password authentication and doesn't support secure http (https).

LoadImages(String)

LoadImages loads a multi image from file.

It detects file format from extension.

If the file does not represent a recognized image format the property Aborting is True.

LoadImages(Stream, IEFileFormats)
Loads a multipage TIFF or GIF from a Stream.
LoadImages(String, IEFileFormats)
Loads a supported multipage file, specifying the image format.
LoadImages(String, Boolean)
Loads an image from file. To detect file format it doesn’t look at the file extension, but at the file content.
LoadImages(IntPtr, Int32, IEFileFormats)
Loads an image or a multipage image from the specified buffer.
LoadImagesFromMediaFile(String)

Loads a video using DirectShow. When load AVI format using LoadImages fails, you should try this method.

Also use LoadFromMediaFile to load DirectShow supported files, like wmv, mpeg, avi.

LoadSnapshot(String)

Loads images, caches, texts and thumbnails size from the specified stream or file, saved using SaveSnapshot.

This is useful to create caching mechanism like Windows .db files, to load quickly an entire directory of images.

LockUpdate()()()()
The LockUpdate method increases the lock counter's value.
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MoveImage(Int32, Int32)

Moves image Index to Destintation. MoveImage doesn’t move associated input/output parameters.

If destination index is equal or major of image count the Index image is moved after last image.

MoveSelectedImagesTo(Int32)

Moves selected images before the specified image.

To move images after last image set beforeImage equal to IEImage.ImageCount.

PrepareSpaceFor(Int32, Int32, Int32, Int32)

PrepareSpaceFor allocates enought space on a temporary file for ImageCount images of size Width*Height*BitCount.

Call this method to improve performance only when you plan to add a lot of images of the some size.

PrinterSetup()()()()
Shows the printer select and setup system dialog
PrintImage(Int32, Double, Double, Double, Double, IEImage..::..PrintVerticalPos, IEImage..::..PrintHorizontalPos, IEImage..::..PrintSize, Double, Double, Double)

PrintImage prints an image, specifing margins, vertical position, horizonal position and size.

Call PrintImage inside a PrintBegin() and PrintEnd() block (static members of IEImage class).

PrintImageAt(Int32, Double, Double, Double, Double, Double)

PrintImageAt prints an image, specifing absolute position and size.

Call PrintImageAt inside a PrintBegin() and PrintEnd() block (static members of IEImage class).

PrintImages(Int32, Int32)

PrintImages prints all images or only selected images.

You can specify number of columns and rows, spaces between images and margins. It is possible also to draw box around images, shadows and text.

PrintImages(Int32, Int32, Double, Double, Boolean, Double, Double, Double, Double, Boolean, Boolean, Boolean)

PrintImages prints all images or only selected images.

You can specify number of columns and rows, spaces between images and margins. It is possible also to draw box around images, shadows and text.

PrintPreviewDialog()()()()
Executes the multi-page print preview dialog. This function is like PrintPreviewDialog of IEImage, but allows working with multiple pages.
PrintPreviewDialog(String, Boolean)

Executes the multi-page print preview dialog. This function is like PrintPreviewDialog of IEImage, but allows working with multiple pages.

Supports Imaging Annotations.

PrintPreviewDialog(String, Boolean, String)

Executes the multi-page print preview dialog. This function is like PrintPreviewDialog of IEImage, but allows working with multiple pages.

Supports Imaging Annotations.

ReleaseImage(IEImage, Int32, Boolean)

ReleaseImage releases the image created with GetImage method.

Applications don't need to call Dispose() for the image object.

ReloadImage(Int32)
This method reloads an image. This works only with on demand image (where you set FileName of ID).
RemoveBlankPages(Double, Boolean, Boolean)
Detects images with a single color (ie a blank page) and remove them.
SaveImages(String)
SaveImages saves a multi image to file. It detects file format from extension.
SaveImages(Stream, IEFileFormats)
Saves a multipage TIFF or GIF to a Stream.
SaveImages(String, Boolean)
SaveImages saves a multi image to file. It detects file format from extension.
SaveImages(String, String)

SaveImages saves a multi image file as AVI, specifing the compression codec.

Codec examples:

'cvid' : cinepak by Radius

'msvc' : Microsoft Video 1

'mp42' : Microsoft MPEG4 V2

More codecs at http://www.fourcc.org or http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwmt/html/registeredfourcccodesandwaveformats.asp (or at msdn.microsoft.com searching for registered fourcc codes and wave formats).

SavePreviewDialog(String, String)

Executes the multi-page save preview dialog. This function allows saving of images with pages of thumbnails.

SaveSnapshot(String)

Saves all images, caches, texts and thumbnails size in the specified stream or file.

This is useful to create caching mechanism like Windows .db files, to load quickly an entire directory of images.

You can reload a saved snapshot using LoadSnapshot.

It is like SaveSnapshot with saveCache=true and compressed=false.

SaveSnapshot(String, Boolean, Boolean)

Saves all images, caches, texts and thumbnails size in the specified stream or file.

This is useful to create caching mechanism like Windows .db files, to load quickly an entire directory of images.

You can reload a saved snapshot using LoadSnapshot.

SaveSnapshot(String, Boolean, Boolean, Boolean)

Saves all images, caches, texts and thumbnails size in the specified stream or file.

This is useful to create caching mechanism like Windows .db files, to load quickly an entire directory of images.

You can reload a saved snapshot using LoadSnapshot.

SelectAcquireSource(Boolean, Boolean, Boolean)

Prompt the user with a dialog to select a Twain, WIA or portable device.

Note: If your location is only [ieTwain] or [ieWIA] then the default Twain/WIA selector is shown. Otherwise a custom device selector is used.

SelectTWainSource()()()()
Shows a dialog where the user can select the Twain scanner device.
SelectWIASource()()()()
Shows a dialog where the user can select the WIA scanner device.
SetImage(Int32, IEImage)
SetImage sets the image assigned to index. The image is copied internally, therefore you can free image after SetImage.
SetImage(Int32, Stream)
SetImage loads an image from Stream and assign it to index
SetImage(Int32, String)
SetImage loads an image and assign it to index
SetImage(Int32, IEImage, Boolean)
SetImage sets the image assigned to index. The image is copied internally, therefore you can free image after SetImage.
SetImage(Int32, String, Int32)
SetImage loads an image and assign it to index, specifying the index of source multipage file.
SetImage(Int32, Int32, Int32, IEImage..::..PixelFormat)
Creates an empty images at the specified position.
SetImage(Int32, IEImage, Int32, Int32, Int32, Int32)

SetImage sets the image assigned to index.

The rectangle x1,y1,x2,y2 of image is copied internally. After SetImage you can free the image.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
TWainAcquireClose()()()()

TWainAcquireClose closes a connection opened with TWainAcquireOpen. It is useful to do a modeless acquisition.

Whenever ImageEn gets an image, the AcquireBitmap event occurs.

TWainAcquireOpen()()()()

TWainAcquireOpen opens a connection to the selected scanner. It is useful to do a modeless acquisition.

Whenever ImageEn gets an image the AcquireBitmap event occurs.

UnLockUpdate()()()()

Use the UnLockUpdate method to decrease the lock counter's value locked using LockUpdate.

If the lock count is zero, then the Update method is called.

UpdateImages()()()()
Updates display.

See Also