Options.DefaultTray Options.DefaultTray Options.DefaultTray Property


Returns or sets the default tray your printer uses to print documents.

 property System::String ^ DefaultTray { System::String ^ get(); void set(System::String ^ value); };
public string DefaultTray { get; set; }
Public Property DefaultTray As String

Property Value


When setting this property, you must specify a string found in the Default tray box on the Print tab in the Options dialog box. You can use the DefaultTrayID property and specify a WdPaperTray constant to set this same option.

Applies to