PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Saves the content of a pdfDocument variable in a".PDF" file.
Versions 250064 and later
Versions 25 and later
Linux From version 25 Update 1 (250064), this function is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this function is available for WEBDEV sites in Linux.
New in version 25
Linux From version 25 Update 1 (250064), this function is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this function is available for WEBDEV sites in Linux.
Linux From version 25 Update 1 (250064), this function is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this function is available for WEBDEV sites in Linux.
New in version 250064
Versions 25 and later
Linux From version 25 Update 1 (250064), this function is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this function is available for WEBDEV sites in Linux.
New in version 25
Linux From version 25 Update 1 (250064), this function is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this function is available for WEBDEV sites in Linux.
Linux From version 25 Update 1 (250064), this function is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this function is available for WEBDEV sites in Linux.
Versions 25 and later
Linux From version 25 Update 1 (250064), this function is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this function is available for WEBDEV sites in Linux.
New in version 25
Linux From version 25 Update 1 (250064), this function is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this function is available for WEBDEV sites in Linux.
Linux From version 25 Update 1 (250064), this function is available for WINDEV applications in Linux.
WEBDEV - Server codeLinux From version 25 Update 1 (250064), this function is available for WEBDEV sites in Linux.
Example
MyPDF is pdfDocument = "Test.pdf"
 
FOR EACH DocumentPage OF MyPDF..Page
Trace(DocumentPage..Height)
END
 
PDFSave(MyPDF, "passwordtest.pdf")
Syntax
<Result> = PDFSave(<PDF to use> , <Name and path of PDF file> [, <Password>])
<Result>: Boolean
  • True if saved successfully,
  • False otherwise. To find out the error details, use ErrorInfo.
<PDF to use>: pdfDocument variable
Name of the pdfDocument variable that corresponds to the PDF document to save.
<Name and path of PDF file>: Character string (with quotes)
Name and full (or relative) path of PDF file to create.
<Password>: Optional character string (with quotes)
New password to open the PDF file.
  • If this parameter corresponds to an empty string (""), the PDF document will have no password.
  • If this parameter is not specified, the PDF document will keep its password if it has one.
Business / UI classification : Business Logic
Component : wd250wdpdf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment