PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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
..NbLabel 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 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 find out or modify the height of labels in a "Label" report, use ..LabelHeight.
  • To find out or modify the width of labels in a "Label" report, use ..LabelWidth.
  • To find out and modify the horizontal spacing between labels in a "Label" report, use ..HSpace.
  • To find out and modify the vertical spacing between labels in a "Label" report, use ..VSpace.

Limit

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