Skip to main content

XtraReport.PaperName Property

Gets or sets the name of the custom paper which is used in the printer that the document is going to be printed on.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue("")]
[SRCategory(ReportStringId.CatPageSettings)]
public string PaperName { get; set; }

Property Value

Type Default Description
String String.Empty

A String specifying the name of the paper.

Remarks

The PaperName property’s value is in effect only when the XtraReport.PaperKind property is set to Custom. If the printer on which a document is printed doesn’t support the paper type specified by the PaperName property’s value, then it will default to the Letter paper size.

Note

In this case it’s also necessary to set the XtraReport.PageWidth and XtraReport.PageHeight properties to the corresponding values of the selected paper.

See Also