Edit

Share via


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
Public Function Add (printerResolution As PrinterResolution) As Integer

Parameters

printerResolution
PrinterResolution

The PrinterResolution to add to the collection.

Returns

The zero-based index of the newly added item.

Applies to