![]() |
![]() |
Document.ResetSettings
Sub ResetSettings()
Member of Document
The ResetSettings method resets the following properties to the following values.
The following code 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
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.