bardecode.com

  • Increase font size
  • Default font size
  • Decrease font size
Home Documentation TifSplitPath - enable and specify output path for splitting TIF documents

TifSplitPath - enable and specify output path for splitting TIF documents

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

Visual Basic using the OCX

[form.]SoftekBarcode.TifSplitPath = value

Visual Basic using the DLL

Private Declare Function stGetTifSplitPath Lib "SoftekBarcode" () As String
Private Declare Function stSetTifSplitPath Lib "SoftekBarcode" (ByVal newValue As String) As String
stSetTifSplitPath (value)
value = stGetTifSplitPath ()

Visual Basic using COM

oBar = CreateObject("SoftekATL.Barcode")
.........
oBar.TifSplitPath = value
value = oBar.TifSplitPath

VB.Net using the DLL

Private Declare Function stGetTifSplitPath Lib "SoftekBarcode" () As String
Private Declare Function stSetTifSplitPath Lib "SoftekBarcode" (ByVal newValue As String) As String
stSetTifSplitPath (value)
value = stGetTifSplitPath ()

VB.Net using the SoftekBarcode Wrapper Class

Dim barcode As SoftekBarcode
..........
barcode.SetTifSplitPath(value)
value = barcode.GetTifSplitPath()

VB.Net using the SoftekBarcodeLib Managed Component

Dim barcode As SoftekBarcodeLib.BarcodeReader
..........
barcode = New SoftekBarcodeLib.BarcodeReader()
..........
barcode.TifSplitPath = value

Note that this is not implemented in the DotNet 1 version of the component.
 

Visual C++ Using the OCX

BSTR GetTifSplitPath();
void SetTifSplitPath(BSTR value) ;

Visual C++ Using the DLL

LPCSTR __stdcall stGetTifSplitPath();
LPCSTR __stdcall stSetTifSplitPath(LPCSTR newValue);