PrinterSettings.PrinterResolutionCollection.Add(PrinterResolution) PrinterSettings.PrinterResolutionCollection.Add(PrinterResolution) PrinterSettings.PrinterResolutionCollection.Add(PrinterResolution) Method

Definition

Adds a PrinterResolution to the end of the collection.

public:
 int Add(System::Drawing::Printing::PrinterResolution ^ printerResolution);
public int Add (System.Drawing.Printing.PrinterResolution printerResolution);
member this.Add : System.Drawing.Printing.PrinterResolution -> int

Parameters

printerResolution
PrinterResolution PrinterResolution PrinterResolution

The PrinterResolution to add to the collection.

Returns

The zero-based index of the newly added item.

Applies to