PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
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.
Remark: The sequence of report prints allows you to print different reports one after another, and view them as one in the report viewer. You can add various types of documents in this sequence. See Sequencing reports for more details.
Example
// Print in the report viewer
iDestination(iViewer)
// 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:
iHomotheticHomothetic enlargement or reduction of the PDF document pages to adapt them to the output format, ignoring physical margins.
iHomotheticNoEnlargementHomothetic reduction of the PDF document pages to adapt them to the output format, ignoring physical margins. The pages that use a format less than the output format keep their format and are centered.
Versions 25 and later
iHomotheticNoEnlargementPrintableZone
New in version 25
iHomotheticNoEnlargementPrintableZone
iHomotheticNoEnlargementPrintableZone
Homothetic reduction of the PDF document pages to adapt them to the output format, taking into account physical margins. Pages with a smaller 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.
<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.
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.
Business / UI classification : Neutral code
Component : wd250etat.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment