Previous Document Next Document

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


PrintOptions.MonoResolution

Property MonoResolution As Long

Description

Member of PrintOptions

The MonoResolution property returns or specifies the printing resolution of monochrome 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.