PrinterSettings.PaperSizeCollection.Add(PaperSize) PrinterSettings.PaperSizeCollection.Add(PaperSize) PrinterSettings.PaperSizeCollection.Add(PaperSize) Method

Definition

Adds a PrinterResolution to the end of the collection.

public:
 int Add(System::Drawing::Printing::PaperSize ^ paperSize);
public int Add (System.Drawing.Printing.PaperSize paperSize);
member this.Add : System.Drawing.Printing.PaperSize -> int

Parameters

paperSize
PaperSize PaperSize PaperSize

The PaperSize to add to the collection.

Returns

The zero-based index of the newly added item.

Applies to