GetSpecifiedPrinterPaperSource
PageInfo.GetSpecifiedPrinterPaperSource method
Gets the PaperSource object suitable for printing the page represented by this PageInfo.
public PaperSource GetSpecifiedPrinterPaperSource(PaperSourceCollection paperSources,
PaperSource defaultPageSettingsPaperSource)
| Parameter | Type | Description |
|---|---|---|
| paperSources | PaperSourceCollection | Available paper sources. |
| defaultPageSettingsPaperSource | PaperSource | Paper source defined in default printer settings. |
Return Value
An object that you can use in the .NET printing framework to specify the paper source.
Remarks
This method requires .NET Framework 2.0 or later.
See Also
- class PageInfo
- namespace Aspose.Words.Rendering
- assembly Aspose.Words