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

返回

新添加项的从零开始的索引。

适用于