PrinterSettings.PaperSizeCollection.Add(PaperSize) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
The zero-based index of the newly added item.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.