This document is archived and information here might be outdated.  Recommended version.


IPaper.Trays Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Output)  

IPaper.Trays Property

Enumerate trays supported by the printer.

[Visual Basic .NET]
Public ReadOnly Property Trays As IEnumNamedID
[C#]
public IEnumNamedID Trays {get;}
[C++]
HRESULT get_Trays(
  IEnumNamedID** Trays
);
[C++]

Parameters Trays [out, retval]
Trays is a parameter of type IEnumNamedID**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Use the Trays enumerator to get a list valid tray ids for the currently selected printer.  The returned tray ids can be used in the IPaper interface's TrayID property.

See Also

IPaper Interface