MiscPluginsImageMagick is a wrapper around ImageMagick library, allowing IEvolution to load many formats like PDF, PS, PCD and many others.

To setup ImageMagick wrapper just call, one time, the RegisterPlugin static method.

You can download ImageMagick from:

http://www.imagemagick.org/script/binary-releases.php#windows

In order to load PDF, PS, PCL and you have to install the Ghostscript library:

http://www.ghostscript.com/download/

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public class MiscPluginsImageMagick
Public Class MiscPluginsImageMagick
public ref class MiscPluginsImageMagick

Members

         
 All Members  Constructors   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
MiscPluginsImageMagick()()()()
Initializes a new instance of the MiscPluginsImageMagick class
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IsAvailable()()()()
Checks the ImageMagick library availability.
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
RegisterPlugin()()()()

Registers ImageMagick file formats into IEvolution.

Applications should call this method one time only (maybe at the start of the application).

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

Examples

Rasterizes page number 5 of mybook.pdf at 200dpi

CopyC#
MiscPluginsImageMagick.RegisterPlugin(); // call only one time!
ieViewer1.Image.IOParams.ImageIndex = 5;
ieViewer1.Image.IOParams.Dict.Insert("PDF:Density", 200);
ieViewer1.Image.LoadImage("mybook.pdf");

Inheritance Hierarchy

System..::..Object
  HiComponents.IEvolution..::..MiscPluginsImageMagick

See Also