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

开始复制项的索引。

适用于