Label.property – PB Docs 126

Label.property DataWindow object property

Description

Settings for a DataWindow whose presentation style is Label.

Controls

DataWindows

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

DataWindowSyntaxFromSql:

Parameter

Description

property

A property for the Label presentation
style. Properties and their settings are listed in the table below.

value

The value to be assigned to the property.
For Label properties, value cannot be a DataWindow
expression.

Property for Label

Value

Columns

An integer indicating the number of columns
of labels on a sheet.

Painter: Label group, Labels Across option.

Columns.Spacing

An integer indicating the space between
columns of labels in the units specified for the DataWindow object.

Painter: Arrangement group, Between Columns option.

Ellipse_Height

An integer specifying the height of the
rounded corners of a RoundRectangle label. This property is not
valid for any other label shape. This value uses the same unit of measure
specified for the DataWindow object.

Painter: Not set in painter.

Ellipse_Width

An integer specifying the width of the
rounded corners of a RoundRectangle label. This property is not
valid for any other label shape. This value uses the same unit of measure
specified for the DataWindow object.

Painter: Not set in painter.

Height

An integer specifying the height of a
label in the units specified for the DataWindow object.

Painter: Label group, Height option.

Name

A string containing the name of a label.

Painter: Predefined Label option.

Rows

An integer indicating the number of rows
of labels on a sheet.

Painter: Label group, Labels Down option.

Rows.Spacing

An integer indicating the space between
rows of labels on a sheet in the units specified for the DataWindow
object.

Painter: Arrangement group, Between Rows option.

Shape

A string specifying the shape of a label.

Values are:

  • Rectangle

  • RoundRectangle

  • Oval

Painter: Not set in painter.

Sheet

(Describe only)
Whether the paper is sheet fed or continuous.

Values are:

  • Yes – Sheet
    fed

  • No – Continuous

Painter: Arrangement group, Paper option.

TopDown

(Describe only)
Whether the labels will be printed from the top to the bottom or across
the page.

Values are:

  • No – Print
    labels across the page.

  • Yes – Print labels from top to bottom.

Painter: Arrangement group, Arrange option.

Width

An integer specifying the width of a
label in the units specified for the DataWindow object.

Painter: Label group, Width option.

Usage

In the painter

Select the DataWindow object by deselecting all controls;
then set the value in the Properties view, General tab (when presentation
style is Label).

Examples


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x