PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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 AdjustmentMode property determines and changes how a Spreadsheet control is adjusted in a report.
Example
// -- Initialization process of the PSHEET_Satistics control
PSHEET_Satistics = "FashionShow.xlsx"
PSHEET_Satistics.AdjustmentMode = modeAdjustmentRowsAndColumns
Syntax

Finding out the adjustment mode of a Spreadsheet control in a report Hide the details

<Result> = <Spreadsheet control>.AdjustmentMode
<Result>: Integer constant
Adjustment mode of a Spreadsheet control:
modeAdjustmentNoneNo scaling is performed.
modeAdjustmentColumnsAll the columns are adjusted to the control width.
modeAdjustmentRowsAll the rows are adjusted to the control height.
modeAdjustmentRowsAndColumnsThe worksheet is adjusted to the dimensions of a Spreadsheet control.
<Spreadsheet control>: Control name
Name of the Spreadsheet control to use.

Modifying the adjustment mode of a Spreadsheet control in a report Hide the details

<Spreadsheet control>.AdjustmentMode = <New Adjustment>
<Spreadsheet control>: Control name
Name of the Spreadsheet control to use.
<New Adjustment>: Integer constant
New adjustment mode for the Spreadsheet control:
modeAdjustmentNoneNo scaling is performed.
modeAdjustmentColumnsAll the columns are adjusted to the control width.
modeAdjustmentRowsAll the rows are adjusted to the control height.
modeAdjustmentRowsAndColumnsThe worksheet is adjusted to the dimensions of a Spreadsheet control.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment