Load an image file to a BasicCard attached to a specific card reader.
Namespace: BasicCard.BasicCards.LoaderAssembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)
Syntax
C# |
---|
public static void DownloadImage(
BasicCardLoadService..::..CardState targetState,
BasicCardImage image,
ICardReader reader,
EventHandler<DownloadEventArgs> eventHandler = null,
ISynchronizeInvoke invokeContext = null
) |
Visual Basic |
---|
Public Shared Sub DownloadImage (
targetState As BasicCardLoadService..::..CardState,
image As BasicCardImage,
reader As ICardReader,
Optional eventHandler As EventHandler(Of DownloadEventArgs) = Nothing,
Optional invokeContext As ISynchronizeInvoke = Nothing
) |
Visual C++ |
---|
public:
static void DownloadImage(
BasicCardLoadService..::..CardState targetState,
BasicCardImage^ image,
ICardReader^ reader,
EventHandler<DownloadEventArgs^>^ eventHandler = nullptr,
ISynchronizeInvoke^ invokeContext = nullptr
) |
F# |
---|
static member DownloadImage :
targetState : BasicCardLoadService..::..CardState *
image : BasicCardImage *
reader : ICardReader *
?eventHandler : EventHandler<DownloadEventArgs> *
?invokeContext : ISynchronizeInvoke
(* Defaults:
let _eventHandler = defaultArg eventHandler null
let _invokeContext = defaultArg invokeContext null
*)
-> unit
|
Parameters
- targetState
- Type: BasicCard.BasicCards.Loader..::..BasicCardLoadService..::..CardState
Target state
- image
- Type: BasicCard.BasicCards.Loader..::..BasicCardImage
Image to load
- reader
- Type: BasicCard.Terminals..::..ICardReader
Card reader to use
- eventHandler (Optional)
- Type: System..::..EventHandler<(Of <(<'DownloadEventArgs>)>)>
Event handler to process download events.
- invokeContext (Optional)
- Type: System.ComponentModel..::..ISynchronizeInvoke
Context to use for invoking event handler. E.g. a Windows control or forms object.
See Also