.NET Windows Forms in a Nutshell

PaperSource

System.Drawing.Printing (system.drawing.dll) class

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()

Категории