Bearbeiten

Freigeben über


PrinterSettings.PaperSizeCollection.CopyTo(PaperSize[], Int32) Method

Definition

Copies the contents of the current PrinterSettings.PaperSizeCollection to the specified array, starting at the specified index.

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)

Parameters

paperSizes
PaperSize[]

A zero-based array that receives the items copied from the PrinterSettings.PaperSizeCollection.

index
Int32

The index at which to start copying items.

Applies to