PrinterSettings.PaperSizeCollection.Add(PaperSize) 方法

定義

PrinterResolution 加入至集合結尾。

public:
 int Add(System::Drawing::Printing::PaperSize ^ paperSize);
public int Add (System.Drawing.Printing.PaperSize paperSize);
member this.Add : System.Drawing.Printing.PaperSize -> int
Public Function Add (paperSize As PaperSize) As Integer

參數

paperSize
PaperSize

要加入至集合的 PaperSize

傳回

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

適用於