Load an image file to a BasicCard using a specified connection.
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,
ICardConnection conn,
EventHandler<DownloadEventArgs> eventHandler = null,
ISynchronizeInvoke invokeContext = null
) |
Visual Basic |
---|
Public Shared Sub DownloadImage (
targetState As BasicCardLoadService..::..CardState,
image As BasicCardImage,
conn As ICardConnection,
Optional eventHandler As EventHandler(Of DownloadEventArgs) = Nothing,
Optional invokeContext As ISynchronizeInvoke = Nothing
) |
Visual C++ |
---|
public:
static void DownloadImage(
BasicCardLoadService..::..CardState targetState,
BasicCardImage^ image,
ICardConnection^ conn,
EventHandler<DownloadEventArgs^>^ eventHandler = nullptr,
ISynchronizeInvoke^ invokeContext = nullptr
) |
F# |
---|
static member DownloadImage :
targetState : BasicCardLoadService..::..CardState *
image : BasicCardImage *
conn : ICardConnection *
?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
- conn
- Type: BasicCard.Terminals..::..ICardConnection
Card connection
- 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