Edytuj

Udostępnij za pośrednictwem


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
Public Function Add (paperSize As PaperSize) As Integer

Parameters

paperSize
PaperSize

The PaperSize to add to the collection.

Returns

The zero-based index of the newly added item.

Applies to