LinkBase.CustomPaperSize Property
Gets or sets the paper size (measured in hundredths of an inch).
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v24.1.Core.dll
NuGet Package: DevExpress.Printing.Core
Declaration
Property Value
Type | Description |
---|---|
Size | A Size value that specifies the custom paper size (measured in hundredths of an inch). |
Remarks
To specify a custom paper size for a printing link, do the following:
- Set the LinkBase.PaperKind property to Custom.
- Use the LinkBase.PaperName property to specify paper type.
- Use the
CustomPaperSize
property to specify the custom paper size.
Note that the paper size should be larger than the page margins.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CustomPaperSize 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.