C# Class Preview.PreviewForm

A form that shows the use of PdfSharp.Forms.PagePreview.
Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: DavidS/MigraDoc Class Usage Examples

Public Methods

Method Description
PreviewForm ( ) : System
UpdateDrawing ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnSizeChanged ( EventArgs e ) : void

Private Methods

Method Description
GetNewZoom ( int currentZoom, bool larger ) : int
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

MakePdf ( ) : void

Create a new PDF document and start the viewer.

Print ( ) : void

Prints the document to the default printer. See MSDN documentation for information about printer selection and printer settings.

PrintPage ( object sender, System.Drawing.Printing.PrintPageEventArgs ev ) : void

Draws the page on the printer.

UpdateStatusBar ( ) : void
miBestFit_Click ( object sender, System e ) : void
miFullPage_Click ( object sender, System e ) : void
miPercent100_Click ( object sender, System e ) : void
miPercent10_Click ( object sender, System e ) : void
miPercent150_Click ( object sender, System e ) : void
miPercent200_Click ( object sender, System e ) : void
miPercent25_Click ( object sender, System e ) : void
miPercent400_Click ( object sender, System e ) : void
miPercent50_Click ( object sender, System e ) : void
miPercent600_Click ( object sender, System e ) : void
miPercent75_Click ( object sender, System e ) : void
miPercent800_Click ( object sender, System e ) : void
toolBar_ButtonClick ( object sender, System e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

OnSizeChanged() protected method

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
return void

PreviewForm() public method

public PreviewForm ( ) : System
return System

UpdateDrawing() public method

public UpdateDrawing ( ) : void
return void