PrinterSettings.PaperSourceCollection.Add(PaperSource) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.