PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
New WINDEV, WEBDEV 23 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
Adds a print of PDF document into a sequence of report prints.
Note: The sequence of report prints is used to print different reports one after another, visible in the same print preview. You have the ability to add PDF documents into this sequence. See Sequencing reports for more details.
Example
iPreview()
// Add reports into the sequence
iSequencingAdd(RPT_Invoice)
// Add the general conditions in PDF File format
iSequencingAddPDF("GCD.pdf")
iSequencingPrint()
Syntax
iSequencingAddPDF(<PDF Document> [, <Password> [, <Sizing> [, <List of Pages>]]])
<PDF Document>: Type of element
PDF document to print. This document corresponds to:
  • the path of PDF file.
  • a HFSQL memo corresponding to a PDF document
  • a Buffer variable corresponding to a PDF document.
<Password>: Character string (with quotes)
  • Password for opening the PDF file,
  • Empty string ("") if the file has no password.
Caution: This parameter is available from version 230042.
<Sizing>: Integer constant
Print size:
iHomotheticThe pages of PDF file are enlarged or reduced in homothetic mode so that they adapt to the output format.
iHomotheticNoEnlargementThe pages of PDF file are reduced in homothetic mode so that they adapt to the output format. The pages that use a format less than the output format keep their format and are centered.
iRealSizePrint in real size. The pages that use a format:
  • smaller than the output format are centered in the page.
  • bigger than the output format are truncated and are centered in the page.
Caution: This parameter is available from version 230042.
<List of Pages>: Character string (with quotes)
List of pages to print. You have the ability to specify the range of pages to print separated by a comma, each range being in 'X-Y' format where X and Y are numbers of pages.
Caution: This parameter is available from version 230042.
Remarks
  • The PDF documents are actually added during the call to iSequencingPrint.
  • In this version, the reports and the sequenced PDF documents keep their own numbering.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230etat.dll
Linux wd230etat.so
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment