Click or drag to resize

IPrinters<TPrintSettings, TPdfPrintSettings> Interface

The collection of the available printers.

Namespace:  DotNetBrowser.Print
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.11
Syntax
C#
public interface IPrinters<TPrintSettings, TPdfPrintSettings> : IReadOnlyList<SystemPrinter<TPrintSettings>>, 
	IReadOnlyCollection<SystemPrinter<TPrintSettings>>, IEnumerable<SystemPrinter<TPrintSettings>>, 
	IEnumerable
where TPrintSettings : class, Object, SystemPrinter.ISettings<TPrintSettings>
where TPdfPrintSettings : class, Object, PdfPrinter.ISettings<TPdfPrintSettings>

Type Parameters

TPrintSettings
The print settings type available for these printers.
TPdfPrintSettings
The PDF print settings type available for PDF printer.

The IPrinters<TPrintSettings, TPdfPrintSettings> type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements in the collection.
(Inherited from IReadOnlyCollection<SystemPrinter<TPrintSettings>>.)
Public propertyDefault
Gets the default system printer.
Public propertyItem
Gets the element at the specified index in the read-only list.
(Inherited from IReadOnlyList<SystemPrinter<TPrintSettings>>.)
Public propertyPdf
Gets the PdfPrinter instance that allows you to print to PDF.
Top
Methods
  NameDescription
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<SystemPrinter<TPrintSettings>>.)
Top
See Also