PrinterSettings.PaperSourceCollection.Add Method (PaperSource)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

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
Show: