![]() |
![]() |
Document.WorldScale
Property WorldScale As Double
Member of Document
The WorldScale property returns or sets the drawing scale for a document. The drawing scale represents the document world scale; for example, 1:2 is a drawing scale where one drawing unit represents two world units.
The following code example sets the drawing scale to 2:1 and creates a 2" ?2" rectangle, which is represented as a 1" ?1" rectangle in CorelDRAW.
Sub Test() ActiveDocument.WorldScale = 0.5 ActiveDocument.ActiveLayer.CreateRectangle 0, 0, 2, 2 End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.