Previous Document Next Document

Object Model Reference : Classes : A : ActiveView : Methods : ActiveView.ToFitPage


ActiveView.ToFitPage

Sub ToFitPage()

Description

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.

VBA example

The following VBA 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 2013 Corel Corporation. All rights reserved.