ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The print constants are as follows:
ConstantDescriptionUsed by the functions
fontDefaultLists the font of display driver.FontList
fontPerFamilyLists the available families of fonts sorted in alphabetical order. The language variations are not listed. FontList
fontPrinterLists the font of print driver.FontList
i2PagesReport viewer: Preview displaying 2 pages at a time.iPreview, iDestination
i100Report viewer: Preview with a zoom set to 100 %.iPreview, iDestination
iAutomaticThe size of the font is automatically chosen according to the length of watermark text and to the report width.Watermark variable
iAutomaticQualityCompression level automatically calculated to generate a better-quality PDF file (especially for images).iParameterPDF,
pdfParameter type,
PDFSave
iAverageQualityAverage compression qualityiParameterPDF,
pdfParameter type,
PDFSave
iBookmarkNoneNo bookmark is taken into account by the PDF fileiParameterPDF
iBookmarkPageThe bookmarks are taken into account by the PDF fileiParameterPDF
iBorderAllSides of border to draw: All the border sides are drawniBorder
iBorderBottomSides of border to draw: The bottom side is drawniBorder
iBorderLeftSides of border to draw: The left side is drawniBorder
iBorderNoneSides of border to draw: The border has no sideiBorder
iBorderRightSides of border to draw: The right side is drawniBorder
iBorderTopSides of border to draw: The top side is drawniBorder
iBottomAlign the text at the bottom of the areaiPrintArea,
Watermark variable
pdfSignature variable
iButtonAllAll the buttons are visible in the report vieweriParameterPreview
iButtonAnnotationThe button used to create annotations in the report is visible in the report viewer.iParameterPreview
iButtonBlackAndWhiteThe button used to print the document in black and white is visible.iParameterPreview
iButtonDuplexThe button used to print the document on both sides is visibleiParameterPreview
iButtonDuplicateThe button used to save a duplicate copy of current report is visible.iParameterPreview
iButtonEmailThe button used to print the report in a new email is visible in the report vieweriParameterPreview
iButtonEmailPDFThe button used to print the report in a file linked to a new email is visible in the report vieweriParameterPreview
iButtonExcelThe button used to print the report in an XLS file is visible in the report vieweriParameterPreview
iButtonHtmlThe button used to print the report in an HTML file is visible in the report vieweriParameterPreview
iButtonNoneNo button is displayed in the report vieweriParameterPreview
iButtonPdfThe button used to print the report in a PDF file is visible in the report vieweriParameterPreview
iButtonPrinterThe two buttons used to start the print are visible in the report vieweriParameterPreview
iButtonReportCreationThe button used to create a report with "Reports and Queries" is visible in the report vieweriParameterPreview
iButtonReportModification The button used to modify the current report with "Reports and Queries" is visible in the report vieweriParameterPreview
iButtonSearchThe toolbar used to perform a search in the report is visible.iParameterPreview
iButtonSnapshotThe button used to take a snapshot of report (or report section) is visible.iParameterPreview
iButtonTextSelectionThe button used to select a text is visible.iParameterPreview
iButtonWatermarkThe button used to add and configure a text in watermark is visible.iParameterPreview
iButtonWordThe button used to print the report in an RTF file is visible in the report vieweriParameterPreview
iButtonXMLThe button used to print the report in an XML file is visible in the report vieweriParameterPreview
iCenterHCenters the text horizontally in the areaiPrintArea,
Watermark variable
pdfSignature variable
iCenterVCenters the text vertically in the areaiPrintArea,
Watermark variable
pdfSignature variable
iCollateMode for collating the pagesiParameter
iColorMode for managing colorsiParameter
iColor_ColorPrint in coloriParameter
iColor_MonoImpression monochromeiParameter
iContinuousSolid lineiBorder, iRoundBorder, iEllipse, iNewLine, iLine, iHLine, iVLine
iCopiesNumber of copies by defaultiParameter
iCourierFont family: Courier font (fixed character width)iCreateFont
iCrossedFill pattern: Crossed linesiBorder,
iRoundBorder,
iEllipse
pdfSignature variable
iDashedType of line: Dashed line (----)iBorder, iRoundBorder, iEllipse, iNewLine, iLine, iHLine, iVLine
iDefaultFont family: Any fontiCreateFont
iDefaultZoomSets the zoom in the report viewer. Corresponds to:
  • iPage when first used.
  • the last zoom set by the user in the report viewer, for subsequent uses.
iPreview, iDestination
iDeviceNameName of printer port usediInfoPrinter
iDiagonalCrossedFill pattern: Diagonal crossed linesiBorder,
iRoundBorder,
iEllipse
pdfSignature variable
iDirectoryHTMLDirectory where the HTML file is generatediDirImageHTML
iDirectoryWeb"<MyProject>_WEB" directory of siteiDirImageHTML
iDotAndDashType of line: Dot-and-dash line (-.-.-.)iBorder, iRoundBorder, iEllipse, iNewLine, iLine, iHLine, iVLine
iDottedType of line: Dotted line (....)iBorder, iRoundBorder, iEllipse, iNewLine, iLine, iHLine, iVLine
iDownwardDiagonal
  • Fill pattern: Descending diagonal lines
  • Watermark orientation: Downward diagonal
iDplCertificateUses the specified certificate to sign the duplicate copy.iParameterDuplicate
iDplNoneNo duplicate copy is created.iParameterDuplicate
iDplPrintoutA duplicate copy is automatically created for each print.iParameterDuplicate
iDrawTextMultiplatformUsed to change the print algorithm used for printing PDF files.iParameter
iDriverNameName of printer driver usediInfoPrinter
iDuplexParameters for printing in duplex modeiParameter
iDuplex_HorizontalHorizontal duplexiParameter
iDuplex_SimpleSingle-sided printingiParameter
iDuplex_VerticalVertical duplexiParameter
iDuplicateDirect print in a duplicate fileiDestination
ieConfirmNoneNo confirmation is requested during the export.iParameterExport
ieConfirmOpenFileIf the file opening was requested (ieOpenFile constant), the report viewer requests a confirmation before opening the file.iParameterExport
ieConfirmOverwriteFileIf the file name has been defined, the report viewer requests a confirmation before the file is overwritten.iParameterExport
ieDefaultCombination of constants used by default by the report viewer:
ieOpenFile + ieConfirmationOpenFile + ieConfirmationOverwriteFile
iParameterExport
iEmailUse in the "Before re-printing" event: This constant is returned if the "Email with included content" button is used in the report viewer.iDestination
iEmailPDF
  • Use in the "Before re-printing" event: This constant is returned if the "Email with attached PDF" button is used in the report viewer.
  • Direct print in a PDF file linked to a new message in the default messaging software.
iDestination
ieOpenFilePrint preview: Opens the created file in the associated application.iParameterExport
iExportDirectoryName of directory where the files will be generated from the report viewer.iParameterExport
iExportEmailRecipientEmail address of recipient for the email generated from the report viewer.iParameterExport
iExportEmailSenderEmail address of sender for the email created from the report viewer.iParameterExport
iExportEmailSubjectSubject of email for the email generated from the report viewer.iParameterExport
iExportFileName of file (without extension) generated from the report viewer.iParameterExport
iExportOptionAdvanced options for managing the files generated from the report vieweriParameterExport
iExtraParametersParameters specific to the printeriParameter
iFaxDirect print to the specified fax number.iDestination
iFile
  • Direct print in a text file.
  • Full path of last file generated during the print (PDF, XLS, ...).
iDestination

iLastFile
iFontAngleThe inclination angle of the text corresponds to the angle defined in the characteristics of the font.Watermark variable
iFontSizeSize of watermark font: the font size is defined in the characteristics of font used.Watermark variable
iFormatCustomPaperSize of custom paper usediParameter
iGenericFileDirect print in a text file (while ignoring the printer driver)iDestination
iGenericHTMLPrint in an HTML file supporting style sheet (CSS) while ignoring the printer driveriDestination
iGenericHTMLWithoutCSSPrint in an HTML file without managing the style sheets and while ignoring the printer driveriDestination
iGenericPDFDirect print in a PDF file while ignoring the printer driveriDestination
iGenericRTFType of text to print: String in Rich Text Format
Direct print in an RTF file while ignoring the printer driver
iDestination
iGenericXLSDirect print in an XLS file while ignoring the printer driveriDestination
iGenericXMLDirect print in an XML file while ignoring the printer driveriDestination
iHighQualityHigh compression qualityiParameterPDF,
pdfParameter type,
PDFSave
iHomoCenteredDisplayZoom scale applied to an image: Image centered in the reference rectangle: its dimensions are not modified (100%).
The image is centered in the rectangle.
iPrintImage
iHomotheticPrint size of PDF: Homothetic enlargement or reduction of pages to adapt them to the output format.iPrintPDF, iSequencingAddPDF, iPrintDoc
iHomotheticDisplayZoom scale applied to an image: Image stretched or reduced to occupy the defined space in an optimal way without being distortediPrintImage
iHomotheticNoEnlargementPrint size of PDF: Homothetic reduction of pages to adapt them to the output format. The pages that use a format less than the output format keep their format and are centered.iPrintPDF, iSequencingAddPDF, iPrintDoc
iHomotheticNoEnlargementPrintableAreaPrint size of PDF: 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.
Remark: This constant corresponds to iHomotheticNoEnlargementPrintableZone in previous versions.
iPrintPDF, iSequencingAddPDF, iPrintDoc
iHorizontal
  • Fill pattern: Horizontal lines
  • Watermark orientation: text printed horizontally
iHTMLType of text to print: Text in HTML format
Print in an HTML file supporting the style sheets (CSS)
iAreaHeight
iDestination
iHTMLWithoutCSSPrint in an HTML file without supporting the style sheetsiDestination
iLeftAlign the text to the left in the areaiPrintArea, pdfSignature variable
iListDuplicateList of last duplicates created during the print. iLastFile
New in version 28
iListOutput
List of the different printouts or exports made from the report viewer. iDocumentPrinted
iLowQualityLow compression qualityiParameterPDF,
pdfParameter type,
PDFSave
New in version 28
iMarkdown
Type of text to print: Markdown text.iAreaHeight
iMaximumQualityMaximum compression qualityiParameterPDF,
pdfParameter type,
PDFSave
iMediaTypeType of paper used for the printout.iParameter
iMediaType_GlossyPaperType of paper used for the printout: Glossy paperiParameter
iMediaType_PlainPaperType of paper used for the printout: plain paperiParameter
iMediaType_TransparentFilmType of paper used for the printout: Transparent filmiParameter
iMinimumQualityMinimum compression qualityiParameterPDF,
pdfParameter type,
PDFSave
iMiniPreviewDisplays the printout in a mini-preview. iPreview, iDestination
iNormalDisplayZoom scale applied to an image: Image printed without changesiPrintImage
iOrientationPaper orientationiParameter
iOrientation_LandscapePrint in landscape modeiParameter
iOrientation_PortraitPrint in portrait modeiParameter
iPageReport viewer: Preview with zoom out: the page will be entirely displayed in the zoom windowiPreview, iDestination
iPageHeightHeight of paper usediParameter
iPageWidthWidth of paper usediParameter
iPaperSizeFormat of paper usediParameter
iPaperSize_10x1410 x 14 inch paperiParameter
New in version 28
HTMLToPDF
iPaperSize_11x1711 x 17 inch paperiParameter
New in version 28
HTMLToPDF
iPaperSize_A3A3 paper (297 x 420 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_A4A4 paper (210 x 297 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_A4SmallSmall A4 paper (210 x 297 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_A5A5 (148 x 20 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_B4B4 paper (250 x 354 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_B5B5 paper (182 x 257 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_CSheetSize C sheetiParameter
New in version 28
HTMLToPDF
iPaperSize_DSheetSize D sheetiParameter
New in version 28
HTMLToPDF
iPaperSize_Envelope9Envelope #9 (3.875 x 8.875 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_Envelope10Envelope #10 (4.125 x 9.5 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_Envelope11Envelope #11 (4.5 x 10.375 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_Envelope12Envelope #12 (4.5 x 4.5 x 11 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_Envelope14Envelope #14 (5 x 11.5 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_EnvelopeB4B4 envelope (250 x 353 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_EnvelopeB5B5 envelope (176 x 250 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_EnvelopeB6B6 envelope (176 x 125 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_EnvelopeC3C3 envelope (324 x 458 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_EnvelopeC4C4 envelope (229 x 324 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_EnvelopeC5C5 envelope (162 x 229 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_EnvelopeC6C6 envelope (114 x 162 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_EnvelopeC65C65 envelope (114 x 229 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_EnvelopeDLDL envelope (110 x 220 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_EnvelopeItalyEnvelope 110 x 230 mmiParameter
New in version 28
HTMLToPDF
iPaperSize_EnvelopeMonarchEnvelope 3.875 x 7.5 inchesiParameter
New in version 28
HTMLToPDF
iPaperSize_EnvelopePersoEnvelope 3.625 x 6.5 inchesiParameter
New in version 28
HTMLToPDF
iPaperSize_ESheetSize E sheetiParameter
New in version 28
HTMLToPDF
iPaperSize_ExecutiveExecutive paper (7.5 x 10.5 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_FanfoldUSFanfold paper (14.875 x 11 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_FolioFolio paper (8.5 x 13 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_GermanLGLFanfold paper (8.5 x 13 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_GermanSTDFanfold paper (8.5 x 12 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_LedgerLedger paper (17 x 11 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_LegalLegal paper (8.5 x 14 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_LetterLetter paper (8.5 x 11 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_LetterSmallSmall letter paper (8.5 x 11 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_NoteNote paper (8.5 x 11 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_QuartoQuarto paper (215 x 275 mm)iParameter
New in version 28
HTMLToPDF
iPaperSize_StatementStatement paper (5.5 x 8.5 inches)iParameter
New in version 28
HTMLToPDF
iPaperSize_TabloidTabloid paper (11 x 17 inches)iParameter
New in version 28
HTMLToPDF
iPaperSourceType of paper source for the printeriParameter
iPaperSource_AutoType of paper source for the printer:
Automatic sheet feed
iParameter
iPaperSource_CassetteType of paper source for the printer:
Tray paper feed
iParameter
iPaperSource_EnvelopeType of paper source for the printer:
Envelope feed
iParameter
iPaperSource_EnvelopeManualType of paper source for the printer:
Manual envelope feed
iParameter
iPaperSource_LargeCapacityType of paper source for the printer:
Large capacity paper feed
iParameter
iPaperSource_LargeFormatType of paper source for the printer:
Large format paper feed
iParameter
iPaperSource_LowerType of paper source for the printer:
Lower tray paper feed
iParameter
iPaperSource_ManualType of paper source for the printer:
Manual feed
iParameter
iPaperSource_MiddleType of paper source for the printer:
Middle tray paper feed
iParameter
iPaperSource_OnlyOneType of paper source for the printer:
Only one feed
Remark: This constant has the same value as iPaperSource_Upper.
iParameter
iPaperSource_SmallFormatType of paper source for the printer:
Small format paper feed
iParameter
iPaperSource_TractorType of paper source for the printer:
Tractor paper feed
iParameter
iPaperSource_UpperType of paper source for the printer:
Upper tray paper feed
Remark: This constant has the same value as iPaperSource_OnlyOne.
iParameter
iPCLPrint to a PCL printeriDestination
iPDF14File generated using PDF 1.4pdfParameter type
iPDF15File generated using PDF 1.5pdfParameter type
iPDF16File generated using PDF 1.6pdfParameter type
iPDF17File generated using PDF 1.7pdfParameter type
iPDFDirect print in a PDF file.
Warning
From version 27, this constant is available for backward compatibility. It is recommended to use the iGenericPDF constant, which improves the generation of PDF files.
iDestination
iPDFA1bThe generated PDF is in PDF/A-1b format. All the elements required to display or print the PDF file are included in the generated file.iParameterPDF,
pdfParameter type
iPDFA3bThe generated PDF is in PDF/A-3b format:
  • All the elements required to display or print the PDF file are included in the generated file.
  • It is possible to add XML, CSV, word processing, spreadsheet files, ... in PDF format. This can be done via iAddAttachment.
iParameterPDF,
pdfParameter type
iPDFAThe generated PDF is in PDF/A-1b format. All the elements required to display or print the PDF file are included in the generated file.iParameterPDF,
pdfParameter type
iPDFGrayscaleThe PDF is generated in black and white.iParameterPDF
iPDFUnicodeThe generated PDF is in Unicode format.iParameterPDF
iPrinterDirect print on the printer (no preview).iDestination
iPrinterDefaultDefault printer settingiParameter
iPrinterFileDirect print in a PRN file. This file can be printed later on a printeriDestination
iPrinterNameName of printer usediInfoPrinter
iPrinterTypePrinter used.iParameter
iProtectionCommentPrevents from adding or editing comments.iParameterPDF
PDFPassword,
pdfParameter type
iProtectionDefaultProtection by default.PDFPassword
iProtectionModificationThe content of the PDF file cannot be modified.iParameterPDF
PDFPassword,
pdfParameter type
iProtectionNoneNo protection for the PDF fileiParameterPDF,
pdfParameter type
iProtectionPrintingThe PDF file cannot be printed.iParameterPDF
PDFPassword,
pdfParameter type
iProtectionSelectionThe content of the PDF file cannot be copied or extracted from the file.iParameterPDF
PDFPassword,
pdfParameter type
ipvZoom2PagesReport viewer: Preview displaying 2 pages at a time.iPreview, iDestination
ipvZoom100Report viewer: Preview with a zoom set to 100%.iPreview, iDestination
ipvZoomDefaultCorresponds to:
  • ipvZoomPage when first used.
  • the last zoom set by the user in the report viewer, for subsequent uses.
iPreview, iDestination
ipvZoomPageReport viewer: Preview with zoom out: the page will be entirely displayed in the zoom window.iPreview, iDestination
ipvZoomPageWidthReport viewer: Preview displaying the entire page width.iPreview, iDestination
iQualityPrint qualityiParameter
iQuality_DraftPrinter quality: DraftiParameter
iQuality_HighPrinter quality: HighiParameter
iQuality_LowPrinter quality: LowiParameter
iQuality_MediumPrinter quality: AverageiParameter
iRealSizeDocument print size: Print in real size. The pages that use:
  • a format smaller than the output format are centered in the page.
  • a format bigger than the output format are truncated and centered in the page.
iPrintPDF, iSequencingAddPDF, iPrintDoc
iRightAlign the text to the right in the areaiPrintArea,
Watermark variable
pdfSignature variable
iRomanFont family: Roman font (exotic font)iCreateFont
iRTFType of text to print: String in Rich Text Format
Direct print in an RTF file
iAreaHeight
iPreview, iDestination
iRTFWithImagesAndTablesManagement mode of images and tables in the RTF controls of reports.iParameter
iScalePercentage of scale used during the printiParameter
iSignatureApprovalType of signature to use: Approval signature.iPrintSignature
iSignatureCertificationType of signature to use: Certification signature.iPrintSignature
iSolidFill pattern: Entire filliBorder, iRoundBorder, iEllipse, pdfSignature variable
iStorePaneRibbonSaves the ribbon tab displayed in the report viewer. iParameterPreview
iSwissFont family: Swiss font (quality font)iCreateFont
iTextType of text to print: Normal textiAreaHeight
iThumbnailPaneReport viewer: Display or hide the thumbnail pane in the report viewer.
This constant corresponds to iPaneMiniatures in previous versions.
iParameterPreview
iTopAlign the text at the top in the areaiPrintArea, pdfSignature variable
iTrueTypeParameters for printing TrueType fontsiParameter
iTrueType_BitmapTrueType font in bitmapiParameter
iTrueType_DownloadDownloaded TrueType fontiParameter
iTrueType_SubdevTrueType font of deviceiParameter
iUpwardDiagonal
  • Fill pattern: Ascending diagonal lines
  • Watermark orientation: Upward diagonal
iVerticalFill pattern: Vertical linesiBorder, iRoundBorder, iEllipse, pdfSignature variable
iWatermarkDuplicatePrinting a watermark: The watermark is inserted when printing the duplicate.iParameterWatermark
iWatermarkPrintingPrinting a watermark: The watermark is inserted when printing the document.iParameterWatermark
iWithFormattingStores the color and the font during the export in XLS format.iParameterXLS
iXLSDirect print in an XLS fileiDestination
iXMLDirect print in an XML fileiDestination
iYResolutionVertical resolutioniParameter
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment