PrinterSettings.PaperSourceCollection.Add(PaperSource) Método

Definição

Adiciona o PaperSource específico ao fim do PrinterSettings.PaperSourceCollection.Adds the specified PaperSource to end of the 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

Parâmetros

paperSource
PaperSource

O PaperSource a adicionar à coleção.The PaperSource to add to the collection.

Retornos

Int32

O índice de base zero onde o PaperSource foi adicionado.The zero-based index where the PaperSource was added.

Aplica-se a