PrinterSettings.PaperSourceCollection.Add(PaperSource) Methode

Definition

Fügt das angegebene PaperSource Ende der .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

Parameter

paperSource
PaperSource

Das PaperSource , das der Auflistung hinzugefügt werden soll.

Gibt zurück

Der nullbasierte Index, in dem der PaperSource Index hinzugefügt wurde.

Gilt für: