PrinterSettings.PaperSizeCollection.Add(PaperSize) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在收藏的最後加上 a 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
參數
傳回
新加入項目的零基索引。