Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DocExtents (Read 1382 times)
ampersand
Junior Member
**
Offline



Posts: 55
Joined: Sep 21st, 2006
DocExtents
Oct 19th, 2006 at 7:45am
Print Post  
I use Flowchart in a ruler control. The docextents of the flowchart control is set to Din A5 in the forms constructor.

Code
Select All
publix Form()
{
...
RectangleF rec = new RectangleF(0, 0, 148, 210); //millimeter
btChart.DocExtents = rec;
...
}
 



AutoSizeDoc is set to None
Anchor to Top; Left
Dock to None

Th rulerControls Anchor property is set to Top;Left
and the Dock property to Fill
At designtime it looks okay



But when I start the app the flowchart control is always stretched to the borders of the ruler component. The user then can not see the Din A5 pagesize and the vertical scrollbar of the ruler control is not showing that the flowchart is in fact bigger.



It seems flowchart is automatically stretched when it's part of a ruler control?!

What can I do to let the flowchart look like a page with the size of the given DocExtents?

Is it possible to to mark the size of the embedded flowchart document on the ruler control?

Thanks
Dirk
  
Back to top
 
IP Logged
 
ampersand
Junior Member
**
Offline



Posts: 55
Joined: Sep 21st, 2006
Re: DocExtents
Reply #1 - Oct 19th, 2006 at 10:05am
Print Post  
I found out myself  Grin

Just used ExteriorBrush and got my page-like look.

Also http://mindfusion.org/cgi/Forum/YaBB.pl?board=fcnet_disc;action=display;num=1146... gave me some more information.

Dirk
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint