PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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" pane, in the "Report" group, select "Format and labels".
Format of labels
Versions 18 and later
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
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 by 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