Back to Devexpress

XtraReport.PaperName Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xtrareport-64dc5162.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue("")]
[SRCategory(ReportStringId.CatPageSettings)]
public string PaperName { get; set; }
vb
<DefaultValue("")>
<SRCategory(ReportStringId.CatPageSettings)>
Public Property PaperName As String

Property Value

TypeDefaultDescription
StringString.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.PageWidthF and XtraReport.PageHeightF properties to the corresponding values of the selected paper.

See Also

XtraReport Class

XtraReport Members

DevExpress.XtraReports.UI Namespace