![]() |
![]() |
PDFVBASettings.PublishRange
Property PublishRange As pdfExportRange
Member of PDFVBASettings
The PublishRange property specifies the portion of the document that is published to PDF. If you chose pdfPageRange, you can set the page range by setting the PageRange property.
The following code example publishes the first three pages of the active document to PDF:
Sub Test() With ActiveDocument.PDFSettings .PublishRange = pdfPageRange .PageRange = "1-3" End With ActiveDocument.PublishToPDF "C:\MyDocument.pdf" End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.