Visual Basic (Declaration) | |
---|---|
Public MustOverride Property PagesPerSheet As Integer |
C# | |
---|---|
public abstract int PagesPerSheet {get; set;} |
The supported number of pages per sheet can be retrieved as follows:
IPropertyInfo propInf = app.Display.Printer as IPropertyInfo; int[] validPagesPerSheet = propInf.ValidValues<string>("PagesPerSheet");
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)