Previous Document Next Document

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


PDFVBASettings.JPEGQualityFactor

Property JPEGQualityFactor As Integer

Description

Member of PDFVBASettings

The JPEGQualityFactor sets the JPEG-algorithm compression rate for the bitmaps in a PDF document.

VBA example

The following VBA example publishes the active document to PDF by using a JPEG-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 2013 Corel Corporation. All rights reserved.