![]() |
![]() |
Document.Rulers
Property Rulers As Rulers
Member of Document
The Rulers property returns the Rulers collection of a document. It allows you to change the properties of rulers in the document window.
The Rulers property returns a read-only value.
The following code example sets inches as the units of measurement for the horizontal ruler and millimeters for the vertical one.
Sub Test() ActiveDocument.Rulers.HUnits = cdrInch ActiveDocument.Rulers.VUnits = cdrMillimeter End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.