Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ZoomTrick (Read 1395 times)
nick00
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Nov 7th, 2008
ZoomTrick
Nov 21st, 2008 at 10:25pm
Print Post  
I am creating linked node graphics in DiagramView and at the end calling ZoomtToFit()

Now I dont want to show scrollbar as my graphics is within the screen, now I just want to set the DiagramView size to whatever ZoomtoFit size so the scrollbar will  not be shown, note I dont want to use autoscrollBar =false.

In short I want to set the size of my screen equal to the Final graphic size (i.e. After ZoomToFit()

thanks in advance
  
Back to top
 
IP Logged
 
nick00
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Nov 7th, 2008
Re: ZoomTrick
Reply #1 - Nov 21st, 2008 at 10:40pm
Print Post  
I got it

           diagramView.ShowScrollbars = true;
Right!!!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint