Sets Scale to a value that makes a single printed page fit the whole diagram.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C# Copy Code |
---|
public void ScaleToPage () |
Visual Basic Copy Code |
---|
Public Sub ScaleToPage () |
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.