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

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: