Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Print Preview and printing prob (Read 2120 times)
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Print Preview and printing prob
Oct 23rd, 2006 at 12:45pm
Print Post  
Hello,

I have drawn a diagram of some 30 boxes and some 35 connections on FC.NET control.

Each of the boxes have a text property which is set to some text.

When i do a print preview (print preview ex) of this diagram it shows nicely.

however when i say "FitToPage", it retains the same font size, but the boxes are scaled to a lesser size.

This makes the diagram look messy and not good.

Can you please suggest something to make the font size of the box to scale and fit accordingly?

Thanks in advance

Cheers

Phil
  
Back to top
 
IP Logged
 
ampersand
Junior Member
**
Offline



Posts: 55
Joined: Sep 21st, 2006
Re: Print Preview and printing prob
Reply #1 - Oct 23rd, 2006 at 2:21pm
Print Post  
Hi Phil,

you have to use GraphicsUnit.World when creating the fonts, then the fonts scale smoothly.

Dirk
  
Back to top
 
IP Logged
 
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Re: Print Preview and printing prob
Reply #2 - Oct 24th, 2006 at 6:18am
Print Post  
When i change the Font.Unit property to GraphicsUnit.World, the fonts do not display on the boxes.

I attempted to change the Font.Unit property of the Flowchart  object.

What could be the problem?
Thanks in advance

Cheers

Phil
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Print Preview and printing prob
Reply #3 - Oct 24th, 2006 at 6:32am
Print Post  
Using World as the font size unit will make the font manager use the flowchart's MeasureUnit, which is millimeters by default. So you might have to use a smaller value for the font size when specifying it in millimeters, e.g. try with 2.5 or 3.

Stoyan
  
Back to top
 
IP Logged
 
Phil Jacques
Junior Member
**
Offline


.NET 2.0 Rocks!!!

Posts: 70
Joined: Oct 20th, 2006
Re: Print Preview and printing prob
Reply #4 - Oct 24th, 2006 at 6:58am
Print Post  
Thanks a Ton Stoyan.
You are a genius ....  Smiley

Cheers

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