PrinterSettings.PaperSourceCollection.Add Method (PaperSource)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Adds the specified PaperSource to end of the PrinterSettings.PaperSourceCollection.

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public int Add(
	PaperSource paperSource


Type: System.Drawing.Printing.PaperSource

The PaperSource to add to the collection.

Return Value

Type: System.Int32

The zero-based index where the PaperSource was added.

.NET Framework
Available since 2.0
Return to top