XRPageInfo() Constructor
Initializes a new instance of the XRPageInfo class with the default settings.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v24.1.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Example
The following code creates the XRPageInfo control and sets its properties:
using System.Drawing;
using DevExpress.XtraPrinting;
using DevExpress.XtraReports.UI;
// ...
public XRPageInfo CreateXRPageInfo() {
XRPageInfo pageInfo1 = new XRPageInfo
{
SizeF = new SizeF(200F, 50F),
BackColor = Color.PaleGreen,
PageInfo = PageInfo.DateTime,
Format = "{0:MM/dd/yyyy}",
StartPageNumber = 2
};
return pageInfo1;
}
See Also