PrinterSettings.PaperSourceCollection.Add(PaperSource) Metod

Definition

Lägger till den angivna PaperSource i slutet av 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

Parametrar

paperSource
PaperSource

Att PaperSource lägga till i samlingen.

Returer

Det nollbaserade index där lades PaperSource till.

Gäller för