Click or drag to resize

ZebraCardPrinterFactoryGetInstance Method

Factory method to create the correct ZebraCardPrinter concrete class based on the printer's type.

Namespace:  Zebra.Sdk.Card.Printer
Assembly:  SdkApi_Card_Core (in SdkApi_Card_Core.dll) Version: 2.14.1989
Syntax
public static ZebraCardPrinter GetInstance(
	Connection connection
)

Parameters

connection
Type: Zebra.Sdk.CommConnection
An open connection to a printer.

Return Value

Type: ZebraCardPrinter
An instance of ZebraCardPrinter.
Exceptions
ExceptionCondition
ConnectionExceptionIf an I/O error occurs.
See Also