Object Model Reference : Classes : P : Page : Properties : Page.Resolution |
Property Resolution As Long
Member of Page
The Resolution property returns or specifies the resolution for bitmap rendering, measured in dots per inch (dpi).
The following VBA example sets the bleed value to 0.1", the document resolution to 150 dpi, and the page background to yellow (which is omitted when printing or exporting the document).
Sub Test() |
With ActiveDocument.Pages(0) |
.Color.RGBAssign 255, 255, 0 |
.PrintExportBackground = False |
.Bleed = 0.1 |
.Resolution = 150 |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.