![]() |
![]() |
PDFVBASettings.GrayResolution
Property GrayResolution As Long
Member of PDFVBASettings
The GrayResolution property sets the resolution for downsampled grayscale bitmaps when publishing to PDF. In order to apply the resolution, the DownsampleGray option must be set to True.
The following code 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
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.