Add Method
Collapse the table of content
Expand the table of content

PrinterSettings.PaperSizeCollection.Add Method (PaperSize)

 

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

Adds a PrinterResolution to the end of the collection.

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

public int Add(
	PaperSize paperSize
)

Parameters

paperSize
Type: System.Drawing.Printing.PaperSize

The PaperSize to add to the collection.

Return Value

Type: System.Int32

The zero-based index of the newly added item.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft