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

Declaration

[SRCategory(ReportStringId.CatPageSettings)]
[TypeConverter(typeof(PaperNameConverter))]
[XtraSerializableProperty]
public string PaperName { get; set; }
<SRCategory(ReportStringId.CatPageSettings)>
<TypeConverter(GetType(PaperNameConverter))>
<XtraSerializableProperty>
Public Property PaperName As String

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