RasterEdge provides various standard options to view and display document & images in your applications, including:
- Viewing 30+ image and document formats
- Anti-aliasing - to apply an anti-aliasing filter to the specified image or documents
- Fit to height - fit image to the height of viewer
- Fit to width - fit image to the width of viewer
- Zoom in or zoom out images as you wish
- Rotate image into 90, 180, 270 degrees
- Scrolling with high speed
- More image viewing & displaying functions
Image Viewing
This guide tells users how to open and display with RasterEdge .NET Imaging SDK using Visual C# sample codes. (For VB.NET developers, please go to
Image Viewing for VB.NET. Want to view Image and document in Winforms or Web applications, please go to
View Images in Winforms and
Web Document Image Viewin.)Or you can check online
RasterEdge.DocImageSDK Developer's Guide.pdf.
- Run Microsoft Visual Studio (2005 or later version);
- Create a project with programming language - Visual C#;
- Add RasterEdge.DotNetImaging.dll to your Visual C# applications;
- Call RasterEdge .NET Image Namespace:
using System.IO;
using System.Drawing.Printing;
using RasterEdge.Imaging;
using RasterEdge.Imaging.Processing;
using Imaging.BarcodeGenerate;
Open a Single image or Multi-page Image
It is used for loading images or documents on your C#.NET applications. See the following code:
RasterEdge myimage = new RasterEdge(pathToAnImage);
Anti-aliasing
It is used for applying an anti-aliasing filter to the specified image or documents. See the following code:
public RasterEdgeImageStatus SetAntiAliasing();
Fit to Page
It is used for fitting image to the height or width of viewer, or fitting image to the full page of viewer. See the following code:
public RasterEdgeImageStatus SetZoomHeightViewer();
public RasterEdgeImageStatus SetZoomWidthViewer();
public RasterEdgeImageStatus SetZoomViewer();
Zoom In and Zoom Out
It is used for zooming in or zooming out images as you wish. See the following code:
public RasterEdgeImageStatus ZoomIN();
public RasterEdgeImageStatus ZoomOUT();
Rotate
It is used for rotating image into 90, 180, 270 degrees. See the following code:
public RasterEdgeImageStatus Rotate(int ImageID, RotateAngle Rotation);
More Image Viewing in
More Tutorials!
Find more user guides with RasteEdge .NET Image SDK using Visual C# sample codings!
Want to install Imaging SDK in Winforms or Web applications, please go to
Use Imaging SDK in Winforms and
Web Document Image Viewer.