This is a fully functional .Net DLL that can be incorporated in to virtually any Windows Program that supports .Net components. We have provided some sample
source code to show how you could use this DLL in your program
Visual Basic.Net (VB.net)
Add a refernce to the DLL in the Project (.NET reference)
- In Visual Basic.Net, click on the 'Project' menu, then click on 'Add References'
- Click the 'Browse' button and find the SCTiffPageSplitNetDLL.dll
- Double Click it so that it appears in your 'Available References' Page
Include this code in the beginning part of your program (or you could put this in your module)
Dim tsplit As New SCTiffPageSplitNetDLL.TiffPageSplitterDLL
Dim rslt as Integer
To call the function and split TIFF files, you could use the following:
rslt = tsplit.Tiff_PageSplit("C:\test\test.tif", "C:\outputdir")
MsgBox rslt