編集

次の方法で共有


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