API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.WorldScale property
Returns or sets the Drawing Scale
Syntax:
Property Get WorldScale() As Double
Property Let WorldScale(ByVal Value As Double)
Remarks:
The WorldScale property returns or specifies 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.
Examples:
The following VBA 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