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

 

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

Namespace:   System.Drawing.Printing
Assembly:  System.Drawing (in System.Drawing.dll)

public void CopyTo(
	PaperSize[] paperSizes,
	int index
)

Parameters

paperSizes
Type: System.Drawing.Printing.PaperSize[]

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

index
Type: System.Int32

The index at which to start copying items.

.NET Framework
Available since 2.0
Return to top
Show: