Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Printing a diagram (Read 2208 times)
amatta
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
Joined: Nov 21st, 2007
Printing a diagram
Nov 21st, 2007 at 7:44am
Print Post  
Hello,

I want to print a diagram with the standard built-in Print-function. So I modify the "Telephone"-Sample and integrate a new menu-Item (PrintPreview).

Here the source:

    Private Sub _menuItemPreview_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItemPreview.Click
       _view.PrintOptions.DocumentName = "Flowchart"
       _view.PrintOptions.EnableImages = True
       _view.PrintOptions.EnableInterior = True
       _view.PrintOptions.EnableShadows = True
       _view.PrintOptions.ScaleToPage()
       _view.PrintPreview()
    End Sub

But the output is not readable. The images are not scaled (some are not visible, too) and the textlines are not aligned. There is really no WYSIWYG layout of the diagram.

What did I wrong? Is there a bug in the printig tool?

Thanks, regards
Andreas

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Printing a diagram
Reply #1 - Nov 21st, 2007 at 8:38am
Print Post  
Hi,

Are you using MeasureUnit == Pixel? This does not work well with printing because the printer pixels are much smaller than the screen ones. Try how that will work if you switch to Point before calling Print().

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint