Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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