Previous Document Next Document
ActiveView.ToFitPage

Sub ToFitPage()

Member of ActiveView

The ToFitPage method changes the active view to fit the entire page of the current document. It ensures that the entire page in a document is visible in CorelDRAW.

The ToFitPage method is equivalent to the Shift+F4 command in CorelDRAW.

The following code example sets the active view of the current document with the ToFitPage method, ensuring that the entire page in the document is visible in the application window.

Sub ToFitPage() 
 ActiveWindow.ActiveView.ToFitPage 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.