Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, May 19, 2011 10:52:33 AM(UTC)

Travis  
Travis

Groups: Registered, Tech Support
Posts: 207

Was thanked: 3 time(s) in 3 post(s)

The attached sample shows you how to use the selected Rectangle Annotation to crop the underlying image to the bounds of the rectangle.  You can draw multiple rectangles on the image and crop the cropped image as well.  You can also offset and scale the image before and after cropping. 

I also added optional features of removing all annotations and resetting the offset and scale values after the image is cropped.

This x86 project was written in C# using Visual Studio 2008.
File Attachment(s):
NET - V17 - Crop using AnnRectangle.zip (22kb) downloaded 112 time(s).
Travis Montgomery
Senior Sales Engineer
LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.028 seconds.