Previous Document Next Document
Page.Resolution

Property Resolution As Long

Member of Page

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

The following code 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 2007 Corel Corporation. All rights reserved.