共用方式為


PrinterSettings.PaperSizeCollection.CopyTo(PaperSize[], Int32) 方法

定義

從指定的索引處開始,複製目前 PrinterSettings.PaperSizeCollection 的內容至指定的陣列。

public:
 void CopyTo(cli::array <System::Drawing::Printing::PaperSize ^> ^ paperSizes, int index);
public void CopyTo (System.Drawing.Printing.PaperSize[] paperSizes, int index);
member this.CopyTo : System.Drawing.Printing.PaperSize[] * int -> unit
Public Sub CopyTo (paperSizes As PaperSize(), index As Integer)

參數

paperSizes
PaperSize[]

以零起始的陣列,接收從 PrinterSettings.PaperSizeCollection 複製的項目。

index
Int32

要從其開始複製項目的索引。

適用於