PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
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 end of application or site,
    • until the next call to iParameterXLS,
    • until the next call to iReset.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230prn.dll
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment