PaperSizeExtensions
Overview
PaperSizeExtensions is a class in Aspose.PDF FOSS for .NET.
Converts between this library’s PaperSize and the System.Drawing one a printer driver speaks.
This class declares 2 methods for PaperSizeExtensions objects in .NET programs.
Available methods include: ToAsposePaperSize, ToNativePaperSize.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Methods
| Signature | Description |
|---|---|
ToNativePaperSize(paperSize: PaperSize) | Copies an Aspose paper size into a System.Drawing one. |
ToAsposePaperSize(nativeSize: NativePaperSize) | Copies a System.Drawing paper size into an Aspose one. |