Previous Document Next Document

Object Model Reference : Classes : D : Document : Methods : Document.ResetSettings


Document.ResetSettings

Sub ResetSettings()

Description

Member of Document

The ResetSettings method resets the following properties to the following values.

VBA example

The following VBA example creates an ellipse with a radius 50 mm in the middle of the page. It preserves and restores all document settings.

Sub Test()
 With ActiveDocument
  .SaveSettings
  .ResetSettings
  .Unit = cdrMillimeter
  .DrawingOriginX = 0
  .DrawingOriginY = 0
  .ActiveLayer.CreateEllipse2 0, 0, 50
  .RestoreSettings
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.