Object Model Reference : Classes : P : PDFVBASettings : Properties : PDFVBASettings.BitmapCompression |
Property BitmapCompression As pdfBitmapCompressionType
Member of PDFVBASettings
The BitmapCompression property sets the compression algorithm for the bitmaps in a PDF document.
The following VBA example publishes the active document to PDF by using JPEG bitmap compression with a compression factor of 30.
Sub Test() |
With ActiveDocument.PDFSettings |
.BitmapCompression = pdfJPEG |
.JPEGQualityFactor = 30 |
End With |
ActiveDocument.PublishToPDF "C:\MyDocument.pdf" |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.