PrinterSettings.PaperSourceCollection.Add(PaperSource) Metoda

Definice

Přidá zadanou PaperSource hodnotu na konec .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

Parametry

paperSource
PaperSource

Přidá PaperSource se do kolekce.

Návraty

Index založený na nule, do kterého PaperSource byl přidán.

Platí pro