This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Interfaces > IP > IPaper Interface > IPaper.Trays Property (ArcObjects .NET 10.4 SDK) |
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
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.