The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team 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.,
ADAdministrator Syncfusion Team 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.,
>
>