PrinterSettings.PaperSourceCollection.Add(PaperSource) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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é.