Previous Document Next Document

Object Model Reference : Classes : P : PDFVBASettings : Properties : PDFVBASettings.DownsampleColor


PDFVBASettings.DownsampleColor

Property DownsampleColor As Boolean

Description

Member of PDFVBASettings

The DownsampleColor property determines whether color bitmaps are downsampled in a PDF document.

 
You can use the ColorResolution property to set the resolution.
VBA example

The following VBA example publishes the active document to PDF. Color and grayscale bitmaps are downsampled to 72 dpi, and monochrome bitmaps are downsampled to 150 dpi.

Sub Test()
 With ActiveDocument.PDFSettings
  .DownsampleColor = True
  .DownsampleGray = True
  .DownsampleMono = True
  .ColorResolution = 72
  .GrayResolution = 72
  .MonoResolution = 150
 End With
 ActiveDocument.PublishToPDF "C:\MyDocument.pdf"
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.