TifMerge_SetFileName

Sets the name of the multi-Image file (.tif) to be created by TifMerge.

Syntax

bool TifMerge_SetFileName (StrParam)

Parameters

String value of the file name to be assigned to the multi-page file. Smart parameters are supported.

Returns

Always True.

Level

All.

Details

This action sets the name of the multi-Image file (.tif) to be created by the TifMerge actions. The file name can be text, or a combination of text and the value of a variable you enter as a parameter. The action automatically adds the “.tif” extension to the file.
Example

The following example assumes that the rules with these actions are applied to a Document object. The names combine text values such as “Doc_” with values assigned to variables by using smart parameters.

TifMerge_SetFileName("Doc_+@ID+@DATE(dd.mm.yyyy)")
TifMerge_SetFilePath("c:\ParentDir\Invoice\MultiImage")
TifMerge_MergeImages("All")           	  

This example combines "MultiTif_" with the ID of the Document Hierarchy object to which the ruleset is applied. Usually, a rule that contains this action applies to a Batch object or Document object, but can apply to a Page or Field object.

TifMerge_SetFileName("MultiTif_+@ID")