PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
This content comes from an automatic translation.
  • 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".
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 name>..NbLabel
<Result>: Integer
Number of labels that will be printed across the page width.
<Report name>: Character string (with or without quotes)
Name of "Label" report to use.

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

<Report name>..NbLabel = <New number>
<Report name>: Character string (with or without quotes)
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 know or modify the height of the labels of a report of type "Label", use the Property ..LabelHeight.
  • To know or modify the width of the labels of a report of type "Label", use the Property ..LabelWidth.
  • To find out or change the horizontal spacing between the labels of a report of the "Label" type, use the Property ..HSpace.
  • To find out or change the vertical spacing between the labels of a report of the "Label" type, use the Property ..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