共用方式為


PrinterSettings.PrinterResolutionCollection.Add(PrinterResolution) 方法

定義

PrinterResolution 加入至集合結尾。

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

參數

printerResolution
PrinterResolution

要加入至集合的 PrinterResolution

傳回

新加入項目之以零起始的索引。

適用於