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
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 |
|
PrintingSystemBase |
|
|
WinForms Controls | PrintingSystem |
|
WPF Controls | IDocumentViewModel |
|
PrintingSystem |
|
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.
Related GitHub Examples
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.