Previous Document Next Document

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


ActiveView.ToFitAllObjects

Sub ToFitAllObjects()

Description

Member of ActiveView

The ToFitAllObjects method changes the active view to fit all objects on the current page into the application window. This method adjusts the zoom level so that the area surrounding all objects on the current page fills up the active view.

VBA example

The following VBA example uses the ToFitAllObjects method to adjust the zoom level so that all objects on the page fill up the active view of CorelDRAW.

Sub ToFitAllObjects()
 ActiveWindow.ActiveView.ToFitAllObjects
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.