Skip to main content

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.v24.2.Core.dll

NuGet Package: DevExpress.Printing.Core

#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 PrintingSystemBase
.PageSettings .PaperName
WPF Controls IDocumentViewModel
.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.

See Also