- 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 C#.NET image resizer library control SDK is a 100% clean .NET solution, which is designed to help C# developers resize target image file to desired settings. Using this Visual C# .NET image resizing control, developers can adjust, enlarge or shrink the size of source image file either vertically or horizontally by a few lines of simple C# code.
Apart from this C# image resizing control, RasterEdge DocImage SDK for .NET (a professional third-party imaging SDK from RasterEdge) also contains other image processing and manipulating controls, like C#.NET image cropping control, C#.NET image rotating control and image flipping library control.
This online tutorial contains both theoretical guidance and sample C# code for developers to resize source image in .NET applications. And this is the article layout of this RasterEdge C#.NET image resize control guide page.
C# Image Resizing Control Features
Resize Image in Visual C# Project
In this section, you will find detailed guidance on how to start a Visual C# .NET image resizing application using RasterEdge image resizer library control.
Image Resizing Method in Visual C#
RasterEdge C#.NET image resizer library control offers an easy to use API for developers to resize target image file. The following is the method that this image resizing control has used to enlarge or reduce the target image size.
public static int ApplyResize(REImage img, int width, int height);
Sample C# Code to Resize Image
Using the sample C# code below, you can easily tailor the size of source image file to your desired requirement and save resized image as a new image object in .NET Windows Forms application.
From the given C# code demo, you will find it extremely easy to resize your source image file using RasterEdge C#.NET image resizing control. To put it in another way, if you want to adjust the target image size at your desired values, you just need to enter the required sizing value data by the C# code, that is, ImageProcessing.ApplyResize (reImage, image width value, image height value).
C# Image Resizing Control FAQs
Q: Can I use RasterEdge image resize control to adjust the size of target image proportionally using Visual C# programming code?
A: If you want to resize your source image proportionally, maybe it is more suitable for you to use RasterEdge C#.NET image scaling control, which is designed to help C# developers scale image in an easy and quick way using Visual C# code.
Find more user guides with RasteEdge .NET Image SDK using Visual C# sample codings!