This documentation is archived and is not being maintained.

PaperSource Class

Specifies the paper tray from which the printer gets paper.

For a list of all members of this type, see PaperSource Members.


[Visual Basic]
Public Class PaperSource
public class PaperSource
public __gc class PaperSource
public class PaperSource

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


This class is used by PrinterSettings.PaperSources and PageSettings.PaperSource properties to get the paper source trays that are available on the printer and to set the paper source for a page, respectively.

For more information on printing, see the System.Drawing.Printing namespace overview.


Namespace: System.Drawing.Printing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Drawing (in System.Drawing.dll)

See Also

PaperSource Members | System.Drawing.Printing Namespace | PaperSourceKind | PrinterSettings | PrinterSettings.PaperSources | PageSettings.PaperSource | ListControl.DisplayMember