This documentation is archived and is not being maintained.

PrintTicket.InputBin Property

Gets or sets a value indicating what input bin (paper tray) to use.

Namespace: System.Printing
Assembly: ReachFramework (in reachframework.dll)

public Nullable<InputBin> InputBin { get; set; }
/** @property */
public Nullable<InputBin> get_InputBin ()

/** @property */
public void set_InputBin (Nullable<InputBin> value)

public function get InputBin () : Nullable<InputBin>

public function set InputBin (value : Nullable<InputBin>)

You cannot use this property in XAML.

Property Value

An InputBin value indicating what input tray is used and whether it is chosen manually or automatically.

Exception typeCondition


Calling code has attempted to set the property to a value that is not in the InputBin enumeration.

A a null reference (Nothing in Visual Basic) value for this property means that this feature setting is not specified. Also, when the value is a null reference (Nothing in Visual Basic), the XML versions of the PrintTicket (see SaveTo and GetXmlStream) will not contain any markup for this feature. That is, there will be no markup for the Print Schema's features JobInputBin, DocumentInputBin, or PageInputBin.

When this property is not a null reference (Nothing in Visual Basic), it will have the following relationships to the features defined in the Print Schema.

When this property is set to any InputBin value, then matching JobInputBin markup will be added to the XML print ticket and any DocumentInputBin and PageInputBin markup that is already there will be removed.

You can test for the options that the printer supports by using the InputBinCapability property.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0