TifSplitPath
Overview
TifSplitPath is the file path template for splitting multi-page TIF files into sub-files. The template can include the following conversion specifications:
%d | replaced by a sub-file index number (starting at 1) |
%s | replaced by the barcode found in the sub-file (modes 0 and 1) or the last barcode found before the sub-file (mode 2). If no relevant barcode is available then an empty string is used. |
If the template does not include %d or %s, or %s then a %d is assumed before the file extension. This case also applies if %s is used on it's own and there is no relevant barcode value available.
The mode for splitting the TIF file is controlled by the TifSplitMode property.
e.g c:\tmp\output%d_%s.tif
Default value = NULL < /P >
void STSetParameter(hBarcode, ST_TIFF_SPLIT, char *value) ;
void STGetParameter(hBarcode, ST_TIFF_SPLIT, char *value) ;
e.g
// Split into files named output1.tif, output2.tif etc
#include "barcode.h"
char *value = "output%d.tif" ;
STSetParameter(hBarcode, ST_TIFF_SPLIT, &value) ;