PrinterSettings.PrinterResolutionCollection.Add Method (PrinterResolution)


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 a PrinterResolution to the end of the collection.

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

public int Add(
	PrinterResolution printerResolution


Type: System.Drawing.Printing.PrinterResolution

The PrinterResolution 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