Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic PrintPreview! (Read 1887 times)
nick00
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Nov 7th, 2008
PrintPreview!
Nov 25th, 2008 at 9:26pm
Print Post  
1. Is there any way to set midparent to the PrintPreview() form

2. Also if I use PrintPreview() then can i have any way to minimize the printpreview form as by defalut the minimize option is disable

3. for print preview i used
diagramView1.PrintOptions.DocumentName = "ABC";
it appearing on the preview as a title like
ABC , Page 1

I dont want that space after "ABC"


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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PrintPreview!
Reply #1 - Nov 26th, 2008 at 6:12am
Print Post  
1. What does "midparent" mean?

3. Set PrintOptions.HeaderFormat.
  
Back to top
 
IP Logged
 
nick00
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Nov 7th, 2008
Re: PrintPreview!
Reply #2 - Nov 26th, 2008 at 2:39pm
Print Post  
Cheesy thanks it works

u r gr8


MIDParent is assigned to general form then the form remains withine application,

e.g. if you minimize the form withing appication it is shown on appications task bar not minimizes whole application.

Dlg.MdiParent =this.parentWindow;
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PrintPreview!
Reply #3 - Nov 26th, 2008 at 3:17pm
Print Post  
You will have to create your own print preview form, add the standard .NET PrintPreviewControl to it, and implement the IPrintPreview interface defined by Flowchart.NET. IPrintPreview defines only one property, Document, whose implementation should just delegate to the PrintPreviewControl.Document. Once the form is ready, you can use the public void PrintPreviewEx(Form previewForm) method of DiagramView to display the preview.

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