Options.DefaultTray Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.