Previous Document Next Document

Object Model Reference : Classes : P : PrintOptions : Properties : PrintOptions.ColorResolution


PrintOptions.ColorResolution

Property ColorResolution As Long

Description

Member of PrintOptions

The ColorResolution property returns or specifies the printing resolution of color bitmaps.

VBA example

The following VBA example activates downsampling for color, grayscale, and monochrome bitmaps. It then sets the resolution and prints the document.

Sub Test()
 Dim DrawPrintOptions As PrintOptions
 Set DrawPrintOptions = ActiveDocument.PrintSettings.Options
 With DrawPrintOptions
  'set all downsampling to True
  .DownsampleColor = True
  .DownsampleGray = True
  .DownsampleMono = True
  'set the resolution
  .ColorResolution = 96
  .GrayResolution = 150
  .MonoResolution = 600
 End With
 'print the document
 ActiveDocument.PrintOut
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.