Attachmate.Reflection.Emulation.Common Namespace > KeyboardMapper Class : SaveAs Method |
'Usage
Dim instance As KeyboardMapper Dim pathName As String instance.SaveAs(pathName)
Exception | Description |
---|---|
System.IO.IOException | An I/O error occurred while trying to save the keyboard map. |
System.Security.SecurityException | The caller does not have the required permission to save the keyboard map. |
private IIbmTerminal terminal; private IKeyboardMapper mapper; public void SaveNewMap() { if(terminal != null) { mapper = terminal.KeyboardMapper; mapper.SaveAs("NewKeyboardMap.xkb"); } else Console.Writeline("No terminal exists."); }