- 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#.NET Image Rotation SDK Overview
RasterEdge Image Rotator Library Control is an advanced imaging toolkit, which is designed to help .NET developers achieve fast and accurate image rotation from 1 to 360 degrees using Visual C# programming code. Using this C#.NET image rotator component SDK, C# developers can rotate source image file with 1 degree increments in any .NET class applications, including ASP.NET web-based application and Windows Forms project.
From this online tutorial page for C#.NET image rotation SDK, you will find information on following aspects.
C# Image Rotation Control Benefits
This C# image rotating control toolkit is actually a part of RasterEdge DocImage SDK for .NET which provides multiple powerful image processing controls. Therefore, if you want to perform other advanced imaging effects on source image file in Visual C# programming method, like adding watermark to target image, creating thumbnail for source image, flipping image and cropping image, this strong C#.NET imaging SDK is also a great choice for you.
Rotate Image in C#.NET Application
In this part, we will guide you to integrate RasterEdge image rotating control into your C#.NET imaging application step by step. But before you follow the guidance below, please check whether your C#.NET developing application is compatible with the minimum installation requirement of RasterEdge DocImage SDK for .NET. (If you want to rotate image using VB.NET class code, please read the online tutorial page for image rotation in VB.NET class application.)
C#.NET Method for Image Rotation
In this part, we show the method that RasterEdge Image Rotation SDK has used to rotate target image file. Using this C# RasterEdge image rotating method, developers can rotate source image by any defined degree (1 - 360 degrees). The rotation angle is measured clockwise from the X-axis. And the center of rotation is the right-bottom point of target image file.
public static int ApplyRotate(REImage img, int deg);
Demo C# Code for Image Rotation
The demo C# code below is used to illustrate how to rotate source image with a user-defined angle and how to save rotated image as a new image object in C#.NET class applications.
C#.NET Image Rotator Control FAQs
Q: Can I rotate a batch of images, pictures or photos at once using RasterEdge C#.NET Image Rotator Control Add-on?
A: Sorry, the current version of RasterEdge Visual C# .NET Image Rotator Control Add-on can only support rotating one image at a time and the batch mode for image rotation is not yet supported.
See More Visual C# Image Project Tutorials