We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Print Preview

Thread ID:

Created:

Updated:

Platform:

Replies:

34722 Sep 15,2005 05:52 AM UTC Sep 16,2005 08:59 AM UTC WinForms 2
loading
Tags: Diagram
Vinod Raghupathy
Asked On September 15, 2005 05:52 AM UTC

I am having a ToolBar button in my Windows Forms Application that uses Syncfusion Diagram and Tool Components. Diagram is my draw area for my custom symbols. I have implemented PrintPreview on click of the ToolBar button. The issue I am facing is, when the Print Preview Dialog window shows up instead of 1 page it shows up 30 pages. The first page in the Print Preview Dialog shows up my custom symbols drawn in the Diagram, the rest of the pages from 2 to 30 shows blank. On the first place the pages from 2 to 30 shouldn''t appear at all. Any clues why this is happening ? I wrote a simple Winforms app without using any of Syncfusion''s components and PrintPreview works fine. Pls let me know if you have suggestions. Regards, Vinod

Administrator [Syncfusion]
Replied On September 15, 2005 02:15 PM UTC

Hello Vinod, The print and print preview implementation uses the diagram Model bounds to calculate the drawing area. It looks like you might have assigned a much higher value to the Diagram.Model.Bounds property, than what is actually being used by the drawing. Changing the diagram model bounds to more closely reflect the dimensions of your diagram will make sure that print and printpreview bounds are calculated taking into account the actual drawing size. Prakash Surendra Syncfusion Inc.,

Administrator [Syncfusion]
Replied On September 16, 2005 08:59 AM UTC

Rearranging the sizes did the trick..! Thanks Regards, Vinod >Hello Vinod, > >The print and print preview implementation uses the diagram Model bounds to calculate the drawing area. It looks like you might have assigned a much higher value to the Diagram.Model.Bounds property, than what is actually being used by the drawing. Changing the diagram model bounds to more closely reflect the dimensions of your diagram will make sure that print and printpreview bounds are calculated taking into account the actual drawing size. > >Prakash Surendra >Syncfusion Inc., > >

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;