Skip to main content
A newer version of this page is available. .

PageInfo Enum

Contains the values that define what kind of information is displayed in the current PageInfoBrick.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Data.v19.2.dll

Declaration

[ResourceFinder(typeof(ResFinder))]
public enum PageInfo : byte

Members

Name Description
None

Indicates that the PageInfoTextBrick.Format property value is displayed in the current PageInfoTextBrick.

Number

Indicates that the current page number is displayed in the PageInfoBrick.

NumberOfTotal

Indicates that both the current page number and the total number of pages in the current report are displayed in the current PageInfoBrick.

RomLowNumber

Indicates that the current page number is displayed in the PageInfoBrick using roman numerals in lowercase.

RomHiNumber

Indicates that the current page number is displayed in the PageInfoBrick using roman numerals in uppercase.

DateTime

Indicates that the current date and time are displayed in the PageInfoBrick.

UserName

Indicates that the user name for the current thread is displayed in the PageInfoBrick.

Total

Indicates that the total number of pages is displayed in the PageInfoBrick.

Related API Members

The following properties accept/return PageInfo values:

Library Related API Members
Cross-Platform Class Library PageInfoTextBrick.PageInfo
PageInfoTextBrickBase.PageInfo
Reporting XRPageInfo.PageInfo

Remarks

The information, displayed within a specific PageInfoBrick varies depending upon the PageInfoTextBrick.PageInfo and PageInfoTextBrick.Format property values. If the PageInfo parameter value is RomHiNumber or RomLowNumber, the PageInfoTextBrick.Format parameter value is simply ignored and page numbers are displayed using upper or lowercase roman numerals. If the PageInfoTextBrick.PageInfo property value is None, the PageInfoBrick displays a string, defined via the PageInfoTextBrick.Format property. If the PageInfoTextBrick.PageInfo property value is DateTime, Number or NumberOfTotal, the PageInfoTextBrick.Format property value is assumed to be a format string for the information displayed in the PageInfoBrick. For additional information on formatting different value types, see the “IFormatProvider Interface” topic in MSDN documentation.

The following code snippets (auto-collected from DevExpress Examples) contain references to the PageInfo enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also