ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with reports and controls
  • Modifying the number of labels
  • Modifying the dimensions of labels
  • Limit
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 NbLabel property is used to:
  • Find out the number of labels printed across the page width.
  • Modify the number of labels printed across the page width.
Remark: The number of labels printed across a page can be known and/or modified in the report editor: on the "Modification" tab, in the "Report" group, select "Format and labels".
Format of labels
Example
// Increases the number of labels that will be printed across the page width
RPT_CustLabel.NbLabel = RPT_CustLabel.NbLabel + 2
// Is equivalent to: RPT_CustLabel.NbLabel += 2
Syntax

Finding out the number of labels printed across the page width Hide the details

<Result> = <Report used>.NbLabel
<Result>: Integer
Number of labels that will be printed across the page width.
<Report used>: Report name
Name of "Label" report to use.

Modifying the number of labels printed across the page width Hide the details

<Report used>.NbLabel = <New number>
<Report used>: Report name
Name of "Label" report to use.
<New number>: Integer
New number of labels that will be printed across the page width.
Remarks

Modifying the number of labels

When the number of labels is modified through programming, the labels are not automatically resized. Therefore, we advise you to check the size of labels.

Modifying the dimensions of labels

  • To determine or change the height of labels in a "Label" report, use the LabelHeight property.
  • To determine or change the width of labels in a "Label" report, use the LabelWidth property.
  • To determine or change the horizontal spacing between labels in a "Label" report, use the HSpace property.
  • To determine or change the vertical spacing between labels in a "Label" report, use the VSpace property.

Limit

The NbLabel property applies only to "Label" reports.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help