ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
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
Defines the options for the XLS file generated during the print. The current layout (color and font) can be taken into account or not.
This setting is taken into account when printing to an XLS file (XLS file generated from the print preview or generated by iPreview or iDestination).
Example
// Export the colors of cells into the printed XLS file
iParameterXLS(iWithFormatting)
// Create the XLS file
iPreview(iXLS, "C:\Temp\MyXLSFile.XLS")
// Print code
iCreateFont(1, 16, iBold, iRoman)
PrintTitle()
PrintText()
// End of print and close the created XLS file
iEndPrinting()
Syntax
iParameterXLS(<Options>)
<Options>: Integer constant
Configures the formatting of created file.
iWithFormattingStores the color and the font during the export in XLS format.
Remarks
  • iParameterXLS is ignored in the middle of a print.
  • The setting performed by iParameterXLS is enabled:
    • until the application or site is closed,
    • until the next call to iParameterXLS,
    • until the next call to iReset.
Component: wd290prn.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help