Save method, Savedefsetting method – MagTek MTMICRImage User Manual

Page 18

Advertising
background image

MTMicrImage.OCX

14

SAVE METHOD
Returns "OK".

Syntax

MICRImage.Save() As String

The Save method syntax has no parameters.

Remarks

Saves any changes to the MICRImage’s temporary parameters to its EEPROM.

SAVEDEFSETTING METHOD
Can be used to Save a value using a Key.

Syntax

MICRImage.SaveDefSetting(Key As String, Setting As String) As String

The SaveDefSetting method syntax has these parts:

Part

Description

Key

The Key Identifier

Setting

The string value of the setting to
Save


Example

Return = MICRImage.SaveDefSetting(“MICRCommPort”, “1”)

This will save the string “1” under the Key named “MICRCommPort”

Data Type

String

Advertising