## PageInfo.GetDotNetPaperSize method

Gets the PaperSize object suitable for printing the page represented by this [`PageInfo`](../).

```csharp
public PaperSize GetDotNetPaperSize(PaperSizeCollection paperSizes)
```

| Parameter | Type | Description |
| --- | --- | --- |
| paperSizes | PaperSizeCollection | Available paper sizes. |

### Return Value

An object that you can use in the .NET printing framework to specify the paper size.

### See Also

* class [PageInfo](../)
* namespace [Aspose.Words.Rendering](../../../aspose.words.rendering/)
* assembly [Aspose.Words](../../../)
