PdcReport.PrintToFile

From External Bemet Wiki
Revision as of 11:52, 21 May 2012 by Mike (talk | contribs) (Created page with "== Declaration == PrintToFile(PathFileName as String) as Boolean == Description == == Notes == This method stores the printpreview of a report as a pdf file. == Code examp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

PrintToFile(PathFileName as String) as Boolean

Description

Notes

This method stores the printpreview of a report as a pdf file.

Code example

This example code opens a report with ID 336 and stores it as "test.pdf" in the folder "C:\temp".

dim objReport

  set objReport = pdc.Reports.Open(336)
  objReport.PrintToFile "C:\temp\test.pdf"

Availability

Available since February 2011 (from version 4.2).