MindFusion WinForms Programmer's Guide
PrintOptions.ScaleToPage Method ()
See Also
 





Sets Scale to a value that makes a single printed page fit the whole diagram.

Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms

 Syntax

C#  Copy Code

public void ScaleToPage ()

Visual Basic  Copy Code

Public Sub ScaleToPage ()

 Remarks

ScaleToPage queries the default printer about its page size and assigns to Scale such a value that a single page fits the whole diagram. This method is used internally by the 'Scale to page' button in the extended print preview dialog.

 See Also

ScaleToPage Method Overload List
PrintOptions Members
PrintOptions Class
MindFusion.Diagramming.WinForms Namespace
Bounds Property