Previous Document Next Document
Document.Resolution

Property Resolution As Long

Member of Document

The Resolution property returns or sets the document rendering resolution for bitmap-based effects (for example, drop shadows and interactive transparencies), measured in dots per inch (dpi).

The following code example displays the current resolution. 
Sub Test() 
 MsgBox "Current document resolution is " & _ 
  ActiveDocument.Resolution & " dpi" 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.