Options.DefaultTrayID Property
Returns or sets the default tray your printer uses to print documents.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property DefaultTrayID As Integer
Get
Set
'Usage
Dim instance As Options
Dim value As Integer
value = instance.DefaultTrayID
instance.DefaultTrayID = value
int DefaultTrayID { get; set; }
Property Value
Type: System.Int32
Remarks
You can use the DefaultTray property with a string from the Default tray box on the Print tab in the Options dialog box to set this same option.