Edit

Share via


Options.DefaultTray Property

Definition

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

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

Property Value

Remarks

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