Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Electrical

Page Info

  • Last UpdatedMar 30, 2022
  • 5 minute read

The Page Info control is used to insert page numbers, current date and time, and the name of the current user into a report.

In the Property Grid, the Page Info control's properties are divided into the following groups:

Appearance

Background Color

Specifies the background colour for the controls contained within the band. This option is also available on the Formatting Toolbar ().

Border Color, Border Dash Style, Border Width and Border

Specifies border settings for the control.

Font

Specifies the font settings for the controls contained within the band. Some of these settings are available on the Formatting Toolbar.

Foreground Color

Specifies the text colour for the controls contained within the band. This option is also available on the Formatting Toolbar ().

Formatting Rules

Displays the Formatting Rules Editor which enables users to choose which rules should be applied to the band during report generation, and define the precedence of the applied rules. For further information, refer to Conditionally Change a Control's Appearance.

Padding

Specifies indent values used to render the contents of the controls.

Style Priority

Defines the priority of various styles (for example, background colour or border colour). For further information on style inheritance, refer to Styles Concepts.

Styles

Defines odd and even styles for the controls, as well as assigning an existing style to the them (or a newly created one). For further information on style inheritance, refer to Styles Concepts.

Text Alignment

Used to change the alignment of the control's text. This option is also available on the Formatting Toolbar.

Behaviour

Anchor Vertically

Specifies the vertical anchoring style of the control, so that after page rendering it stays attached to the top control, bottom control, or both. The property setting is useful for data-bound controls located between upper and lower controls, which are able to resize depending on their contents.

Format

This property is used to specify the format string for the text displayed in the control. When the ellipsis button is clicked, the Format String Editor window is displayed, in which the predefined format can be selected and customise as needed. For more information, refer to Change Value Formatting of Report Elements.

Page Information

Used to select the type of information displayed in the control:

Type

Description

None

Displays an empty control.

Page Number

The string, specified by the Format property, is displayed. The {0} combination in the string is replaced with the current page number.

Current of Total Page

Numbers

The string, specified by the Format property, is displayed. The {0} combination in the string is replaced with the current page number, the {1} combination - with a total number of pages in the report. To display the typical Page 1 of 11 text, use the format string Page {0} of {1}.

Page Number (Roman,

Lowercase)

The current page number is displayed using Roman numerals in lowercase.

Page Number (Roman,

Uppercase)

The current page number is displayed using Roman numerals in uppercase.

Current Date and Time

The string, specified by the Format property, is displayed. The {0:[format]} combination is replaced with the current system date and time formatted according to the [format] string. Use the Format String Editor of the Format property (see below) to select or construct the proper string.

User Name

The name of the current user, which was used to log into the operating system, is displayed.

Scripts

Contains events which can be handled with scripts. For further information, refer to Handle Events via Scripts.

Start Page Number

Used to set the start number for page numbering.

Visible

Specifies whether the control is visible when using the print preview.

Word Wrap

When this property is set to Yes, text entered into the control is wrapped to the next line if it does not fit the line or is interrupted by a newline character. If the property is set to No, text entered into the control will be displayed on the same line except where forced onto a new line by a newline character

Data

(Data Bindings)

If the current report is bound to data, the property is used to bind control properties (Bookmark, Navigation URL, Tag and Text) to a data field obtained from the report data source, and to apply a format string. For further information, refer to Display Values from a Database (Bind Report Elements to Data).

Tag

Adds additional information to a report, for example, the id, by which the report can then be accessible via scripts.

If the current report has a data source, the Tag property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property and from the Tag.Binding dropdown list, select the required data field.

Design

(Name)

Determines a control's name, by which it can be accessed in the Property Grid and by scripts.

Layout

Location

Specifies the location of the control in report measurement units.

Size

Specifies the control's size, in report measurement units.

Snap Line Margin

Specifies the margins for the control, which are maintained when the control is aligned using snap lines.

Navigation

Bookmark and Parent Bookmark

These properties are used to create a hierarchical structure within a report called a document map.

If the current report has a data source, the Bookmark property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property and from the Bookmark.Binding dropdown list, select the required data field.

Navigation URL and Navigation Target

Use the Navigation URL property to specify a URL for web browser navigation when a user clicks the control. The web browser displays a page in a window or a frame as specified by the Navigation Target property.

Note:
A URL should have an appropriate prefix (for example, 'http://'). Cross references can be created within the report by assigning the name of the target control to the Navigation URL property, and setting the Navigation Target property to _self. For further information, refer to Create Hyperlinks.

If the current report has a data source, the Navigation URL property can be bound to a data field obtained from the data source. To do this, expand the (Data Bindings) property and from the Navigation URL.Binding dropdown menu, select the required data field.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in