Редагувати

Поділитися через


PrinterSettings.PaperSourceCollection.Add(PaperSource) Method

Definition

Adds the specified PaperSource to end of the PrinterSettings.PaperSourceCollection.

public:
 int Add(System::Drawing::Printing::PaperSource ^ paperSource);
public int Add (System.Drawing.Printing.PaperSource paperSource);
member this.Add : System.Drawing.Printing.PaperSource -> int
Public Function Add (paperSource As PaperSource) As Integer

Parameters

paperSource
PaperSource

The PaperSource to add to the collection.

Returns

The zero-based index where the PaperSource was added.

Applies to