PrinterSettings.PaperSourceCollection.Add(PaperSource) Méthode

Définition

Ajoute le PaperSource spécifié à la fin du 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

Paramètres

paperSource
PaperSource

Objet PaperSource à ajouter à la collection.

Retours

Index de base zéro où le PaperSource a été ajouté.

S’applique à