ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with reports and controls
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 PrintArea property is used to get and change the print area of a Spreadsheet control in a report.
Example
// Print the cells B2 to F10
PSHEET_Spreadsheet.PrintArea = "B2:F10"
Syntax

Finding out the area to print in a Spreadsheet control Hide the details

<Result> = <Spreadsheet control>.PrintArea
<Result>: Character string
Area to print in the following format: <Area starting cell>:<Area ending cell>. For example: "B2:F10".
<Spreadsheet control>: Control name
Name of the Spreadsheet control to use.

Modifying the area to print in a Spreadsheet control Hide the details

<Spreadsheet control>.PrintArea = <Area to print>
<Spreadsheet control>: Control name
Name of the Spreadsheet control to use.
<Area to print>: Character string
Area to print in the following format: <Area starting cell>:<Area ending cell>. For example: "B2:F10".
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help