This will export the current document to PDF. You must call OpenPDFDocument before calling this function. This is intended to support Batch Export to PDF.
FUNCTION ExportPDFPages(savedViewNameStr : STRING): INTEGER;def vs.ExportPDFPages(savedViewNameStr):
return INTEGER| Name | Type | Description |
|---|---|---|
| savedViewNameStr | STRING |
resultN := ExportPDFPages('Example');import vs
# This will export the current document to PDF.
savedViewNameStr = 'Example'
resultN = vs.ExportPDFPages(savedViewNameStr)
vs.Message('ExportPDFPages returned: ' + str(resultN))Availability: from VectorWorks12.5