Previous Document Next Document
PDFVBASettings.JPEGQualityFactor

Property JPEGQualityFactor As Integer

Member of PDFVBASettings

The JPEGQualityFactor sets the compression rate when compressing bitmaps with the JPEG algorithm.

The following code example publishes the active document to PDF 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.