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



Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, March 11, 2010 5:29:26 AM(UTC)


Groups: Registered, Tech Support, Administrators
Posts: 764

The AnnObject class has functions for scaling an image (AnnObject.Scale) which you would need to execute to have the annotation stay in its relative location on the image whenever you resize the image.  The Ruler object however has additional properties that control its look and feel so simply calling the Scale function will make the pixel size correct, but the tickmarks and length likely won't look right.  Attached is a C# 2005 example using LEADTOOLS 16.5's Non-Automated Annotations (you can do the same thing with Automated Annotations) that shows how to proportionally resize the image and ruler annotation.
File Attachment(s):
NET - v16 - Resize Image and Ruler.zip (15kb) downloaded 46 time(s).

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-2023, Yet Another Forum.NET
This page was generated in 0.051 seconds.