xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xtrareport-604cb163.md
Specifies whether the document is supposed to be printed on roll paper (in other words, as a single uninterrupted page).
Namespace : DevExpress.XtraReports.UI
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
[DefaultValue(false)]
[SRCategory(ReportStringId.CatPageSettings)]
public bool RollPaper { get; set; }
<SRCategory(ReportStringId.CatPageSettings)>
<DefaultValue(False)>
Public Property RollPaper As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to provide a continuous document layout, suited for roll paper printing; otherwise false.
|
The RollPapersetting will affect the corresponding page options (such as the page number values), as well as disable page-specific commands in the Print Preview (the Navigation and Many Pages options). When you export a report with the RollPaper option enabled to PDF, the resulting document consists of a single page.
If you set the PageBreak property of a report band to a value other than PageBreak.None, the document will be paginated, and the RollPapersetting will have no effect.
The following code snippets (auto-collected from DevExpress Examples) contain references to the RollPaper property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
report.Landscape = paperKindList.Landscape;
report.RollPaper = false;
float labelDpi = model.MeasurementUnit.ToDpi();
reporting-winforms-best-fit-table-column-width/CS/ReportHelper/ReportHelper.cs#L27
targetReport.PageWidth = 3000;
targetReport.RollPaper = true;
}
report.Landscape = paperKindList.Landscape
report.RollPaper = False
Dim labelDpi As Single = GraphicsDpi.UnitToDpi(CType(model.MeasurementUnit, System.Drawing.GraphicsUnit))
reporting-winforms-best-fit-table-column-width/VB/ReportHelper/ReportHelper.vb#L33
targetReport.PageWidth = 3000
targetReport.RollPaper = True
End Sub
See Also