Name

PaperSource

Synopsis

This class encapsulates the selection of a paper tray.

You can retrieve the Kind of paper source (see PaperSourceKind) and a string representing the name of the paper source (SourceName).


public class PaperSource {

// Public Instance Properties

   public PaperSourceKind Kind{get; }

   public string SourceName{get; }

// Public Instance Methods

   public override string ToString();  // overrides object

}

Returned By

PageSettings.PaperSource, PaperSourceCollection.this

Passed To

PageSettings.PaperSource, PaperSourceCollection.PaperSourceCollection()

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.