LoadSettings

Loads the image enhancement settings that are used by the ImageEnhance action to run image processing.

Member of namespace

DCImageFix

Syntax

bool LoadSettings (string BackupFileExtension)

Parameters

String: BackupFileExtensionThe value of the path to the ImageFix Settings file (.ini).
Attention: The action can also use Smart Parameter syntax, such as the '@PATH(string)' method, to specify the path.

Returns

False if the ImageFix Settings file that you specify as a parameter is not found. Otherwise, True.

Level

All.

Details

This action loads the settings that the ImageFix action uses to process all images in the current batch. The action's parameter includes the file's name and complete path to its location in the application's Process directory. As an alternative, the parameter can use a smart parameter such as @Path to designate the value of the path to the same Process directory.
Example:
LoadSettings(C:\ParentDir\Invoice\Process\ImageFix.ini)
ImageEnhance(tio)  
Example:

This example loads the settings file using the path denoted by the ScanFixSettings key that is listed in the Paths.ini file. If the key points to a relative path, it would be converted to the appropriate full path and then use that path to find the settings:

LoadSettings(@PATH(ScanFixSettings))
ImageEnhance(tio)