Previous Document Next Document

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


PDFVBASettings.PageRange

Property PageRange As String

Description

Member of PDFVBASettings

The PageRange property sets the range of pages to publish to PDF.

 
For this property to be applied, the PublishRange property must be set to pdfPageRange.
VBA example

The following VBA 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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.