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 : Sunday, November 27, 2005 1:11:34 PM(UTC)

Willyx  
Willyx

Groups: Registered
Posts: 3


Hi, i've just see that If I do something like this after the build of annotation workspace(but no ann object on it):

        For Each obj As AnnAutomationObject In theManager.Objects
            If obj.Id = AnnAutomationManager.RulerObjectId Then

                CType(obj.Object, AnnRulerObject).MeasurementUnit = AnnUnit.Millimeter
            End If
        Next obj

I'm able to change all values of newly created ruler (like if this is the mother ruler by default, however this is not documentated).


Now I need to calibrate it, but WITHOUT the calibrate menu, i need to do it from code. I've search over and over, but no luck...any idea?
 

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.

#2 Posted : Monday, December 5, 2005 2:18:34 PM(UTC)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 353


You can control the calibration of rulers by assigning values to the AnnRulerObject.DpiX and AnnRulerObject.DpiY properties.

Edited by user Wednesday, December 7, 2016 2:31:12 PM(UTC)  | Reason: Not specified

Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
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-2019, Yet Another Forum.NET
This page was generated in 0.143 seconds.