Object Model Reference : Classes : A : Application : Methods : Application.Refresh |
Sub Refresh()
Member of Application
The Refresh method updates all open dockers.
The following VBA example updates the Properties docker with the new width for the outline. The Outline tab of the Properites docker must be open.
Sub Test() |
Dim rect As Shape |
Optimization = True |
Set rect = ActiveLayer.CreateRectangle(0, 0, 3, 3) |
rect.Outline.Width = 0.4 |
Optimization = False |
ActiveWindow.Refresh |
Refresh |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.