GetSpecifiedPrinterPaperSource

PageInfo.GetSpecifiedPrinterPaperSource method

Gets the PaperSource object suitable for printing the page represented by this PageInfo.

public PaperSource GetSpecifiedPrinterPaperSource(PaperSourceCollection paperSources, 
    PaperSource defaultPageSettingsPaperSource)
ParameterTypeDescription
paperSourcesPaperSourceCollectionAvailable paper sources.
defaultPageSettingsPaperSourcePaperSourcePaper 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