PrinterSettings.PaperSizeCollection.Add(PaperSize) 方法
定义
将 PrinterResolution 添加到集合的末尾。Adds a PrinterResolution to the end of the collection.
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
参数
返回
新添加项的从零开始的索引。The zero-based index of the newly added item.