- DocImaging for C#
- DocImaging for VB.NET
- SDK Class API Reference
Guide for C#
Core Document Formats
If this is your first time to use our DocImageSDK, we strongly suggest you reading How to Start first!
RasterEdge .NET Imaging SDK contains several library DLLs to fulfill multiple image processing & manipulation tasks. Among all the controls, there are RasterEdge.Imaging.Basic.dll and RasterEdge.Imaging.Basic.Codec.dll which are designed for C# and VB.NET developers to perform some basic imaging functions, such as loading image from a file, loading file from .NET graphics, creating a new image, and printing or saving an image to your local disk, and so on. As for loading image from a file in C# project, please see details as below.
This Visual C# tutorial for loading an image from local file includes the following parts:
If you are a Visual Basic programmer, please go to Load Image from Files in VB.NET. If you are looking for tutorials on how to view Image and document in WinForms or ASP.NET Web application, please go to tutorials for loading Image from files in Windows Forms and Web Document Image.
C# Project and Library Preparation
Image Loading C# Methods
RasterEdge provides mature methods for developers to load an image using Visual C# programming language. Please note that the commonly used image formats are all supported by .NET imaging library SDK package, such as png, gif, jpeg, tiff and bmp. Image loading functionality is the basis for many imaging features such as C#.NET image resizing, scaling, cropping, rotating, flipping, and converting, to name just a few.
public REImage(String filename);
How to Load Image from File with C# Sample Codes
After the introduction for the setup, namespace and methods, here we provide the visual C# sample codes to load from multiple image files under a directory by using RasterEdge .NET Imaging SDK. Now please copy the C# demo coding to your program to open an image. Make sure that you have made necessary adjustments according to your file directory where the image is stored.
When the image is loaded, users can conduct a variety of image processing and manipulation actions. You can resize the loaded image with C# coding, rotate it within 360 degrees, add a barcode in the image, or decode the barcode in it, duplicate / flip the image, and convert the images to other image formats such as png, jpeg, gif, tiff and bmp.
// invoke this method only once at the beginning of your code register all assemblies you referenced to your project
More Imaging Viewing Guide!