Click or drag to resize

VisualFormatterSetEnable Method

Enables or disables the Visual Formatter.

Namespace:  Com.Datalogic.Decode
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual int SetEnable(
	bool enable
)

Parameters

enable
Type: SystemBoolean
- True to enable the Visual Formatter, false to disable it.

Return Value

Type: Int32
Success in case it succeeds, otherwise it returns an error code if the exceptions are disabled or throws a DecodeException in case the exceptions are enabled.
Exceptions
ExceptionCondition
DecodeException - in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks

Enables or disables the Visual Formatter. When enabled, the Visual Formatter will execute the script associated with the current active item. If no item is active it will not execute.

[Android Documentation]

See Also