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 : Monday, June 2, 2008 4:24:29 AM(UTC)

sakthi  
sakthi

Groups: Registered
Posts: 26


Hi,
I am using leadtools v.15 and sample prog is medicalviewer demo.....whenever i load image in the viewer -display ruler is visible along with image .I want to remove this option.I want only image in the viewer....

I have used the following method to remove the display ruler...
_medicalviewer.cell(0).displayruler=none..
it works but ruler is visible initially and then it hides....
I want to completely remove this option...How to do???Please help me out

Thanks
sakthi


 

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 : Tuesday, June 3, 2008 6:19:41 AM(UTC)

Yasir Alani  
Guest

Groups: Guests
Posts: 3,040

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


Before you add or insert a cell, create a MedicalViewerCell object, load the image, disable the ruler, then display the cell.


 


This should be something like this:


 


MedicalViewerCell X = new MedicalViewerCell(image, true);


X.DisplayRulers = MedicalViewerRulers.None;


medicalViewer.Cells.Insert(index, X);

 
#3 Posted : Tuesday, June 3, 2008 8:55:25 PM(UTC)

sakthi  
sakthi

Groups: Registered
Posts: 26


Thanks ....it works fine....

rgds
Sakthi
 
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-2020, Yet Another Forum.NET
This page was generated in 0.103 seconds.