SetDeleteOriginal

Controls deletion of file after conversion.

Syntax

bool SetDeleteOriginal (StrParam)

Parameters

True: After the new image is created, the original will be deleted. False: After the new image is created, the original will remain.

Smart Parameters are supported.

Returns

Always True.

Level

All levels.

Details

Use this action to control the deletion of the source image file when using the actions ConvertToJPEG and ConvertToTIFF. If this action is not called, the default value of False will be used, the source image will not be deleted after conversion.
Example:
SetDeleteOriginal("True")
ConvertToJPEG()