Previous Document Next Document

Object Model Reference : Classes : P : Page : Properties : Page.Resolution


Page.Resolution

Property Resolution As Long

Description

Member of Page

The Resolution property returns or specifies the resolution for bitmap rendering, measured in dots per inch (dpi).

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.