Class HotkeyHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class HotkeyHelper
Methods
GetCaption(ComWrapper<ICamApiHotkey>)
Human-readable label of the binding.
Declaration
public static string GetCaption(this ComWrapper<ICamApiHotkey> hotkeyCom)
Parameters
Returns
GetEnabled(ComWrapper<ICamApiHotkey>)
Whether the binding is dispatched when its shortcut is pressed.
Declaration
public static bool GetEnabled(this ComWrapper<ICamApiHotkey> hotkeyCom)
Parameters
Returns
IsReserved(ComWrapper<ICamApiHotkey>)
True for a host-reserved binding harvested from a native application shortcut.
Declaration
public static bool IsReserved(this ComWrapper<ICamApiHotkey> hotkeyCom)
Parameters
Returns
SetCaption(ComWrapper<ICamApiHotkey>, string)
Set the human-readable label of the binding.
Declaration
public static void SetCaption(this ComWrapper<ICamApiHotkey> hotkeyCom, string caption)
Parameters
SetEnabled(ComWrapper<ICamApiHotkey>, bool)
Enable or disable dispatching of the binding.
Declaration
public static void SetEnabled(this ComWrapper<ICamApiHotkey> hotkeyCom, bool enabled)
Parameters
SetOnExecute(ComWrapper<ICamApiHotkey>, ICamApiHotkeyOnExecute)
Assign the handler fired when the shortcut is pressed.
Declaration
public static void SetOnExecute(this ComWrapper<ICamApiHotkey> hotkeyCom, ICamApiHotkeyOnExecute handler)
Parameters
Shortcut(ComWrapper<ICamApiHotkey>)
Key chord in Delphi text form (e.g. "Ctrl+Shift+K").
Declaration
public static string Shortcut(this ComWrapper<ICamApiHotkey> hotkeyCom)
Parameters
Returns