PrinterSettings.PaperSourceCollection.Add(PaperSource) 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 the specified PaperSource to end of the PrinterSettings.PaperSourceCollection.
public:
int Add(System::Drawing::Printing::PaperSource ^ paperSource);
public int Add (System.Drawing.Printing.PaperSource paperSource);
member this.Add : System.Drawing.Printing.PaperSource -> int
Public Function Add (paperSource As PaperSource) As Integer
Parameters
- paperSource
- PaperSource
The PaperSource to add to the collection.
Returns
The zero-based index where the PaperSource was added.
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.