Skip to main content
A newer version of this page is available. .

XtraPageSettingsBase.PaperName Property

Gets or sets the name of the custom paper used in the printer to be used in printing the document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

public string PaperName { get; set; }

Property Value

Type Description
String

A String value, specifying the name of the paper.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to PaperName
Cross-Platform Class Library RemotePrintingSystem
.PageSettings.PaperName
PrintingSystemBase
.PageSettings.PaperName
WinForms Controls PrintingSystem
.PageSettings.PaperName
WPF Controls IDocumentViewModel
.PageSettings.PaperName
PrintingSystem
.PageSettings.PaperName

Remarks

The PaperName property’s value is in effect only when the XtraPageSettingsBase.PaperKind property is set to Custom. If the printer on which a document is printed doesn’t have the paper type specified by the PaperName property’s value, then the Letter paper size is used instead.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PaperName 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.

See Also