- DocImaging for C#
- DocImaging for VB.NET
- KNOWLEDGE BASE
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!
C# Image Cropping Control Overview
This C#.NET image crop toolkit from RasterEdge image editor SDK is a professional image cropping tool, which can help .NET developers crop image, picture or photo by Visual C# programming code. Using RasterEdge C#.NET image cropping library control, you can easily crop a rectangular section from source image object and save cropped image as a new file in .NET developing applications.
Apart from this mature imaging effect to crop target image file, RasterEdge DocImage SDK for .NET also offers other popular .NET image editing solutions, which can successfully solve the following image processing problems, like how to resize image using C# code, how to mirror image using C#.NET, how to rotate image object in C#.NET class application and how to watermark image by C# code.
This online tutorial for C#.NET image cropping application will offer guidance for C# developers from following several aspects.
C# Image Cropping Control Features
Crop Image in C#.NET Application
If you are wondering how to start a Visual C# .NET image cropping application using RasterEdge C# image cropping component SDK, please read following step-by-step guidance for how to integrate RasterEdge image cropping component toolkit into your C#.NET class project.
If you need VB.NET image cropping guide, please see Crop Image in VB.NET class application.
Visual C#.NET Image Cropping Method
Using the method that RasterEdge C#.NET image crop control SDK has adopted, C# developers can easily crop a desired rectangular section from original image object by specifying an X & Y location and a given size. The X & Y location will determine the point where the cropping action will start and the width & height value will decide how large the cropped image will be.
public static int ApplyCrop(REImage img, int x, int y, int width, int height);
Sample C# Code to Crop Image in .NET
In this part, we will give you a Visual C# programming example to illustrate how to use RasterEdge image cropping library add-on for image cropping by C# code.
C# Image Cropping Control FAQs
Q: Does RasterEdge C#.NET image crop control allow developers to crop an irregular part from source image file?
A: Sorry, currently, this .NET image cropping library control only supports cropping rectangular section from source image object by Visual C# code.
More Related C# Imaging Functions