Sherrod Computers - Web and Application development
Tiff Merger DLL.Net / DotNet



TIFF Page Merger DLL / COM

General Info

Download Trial

Purchase

Customers include:
IBM
Ikon
Microsoft
Kodak
Xerox
Olympus
Minolta
NASA
More >>

Custom Application Development
Click here for information

Products



DLL / COM Products

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)

  1. In Visual Basic.Net, click on the 'Project' menu, then click on 'Add References'
  2. Click the 'Browse' button and find the SCTiffMergeNetDll.dll
  3. 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 tmerge As New SCTiffMergeNetDLL.SCTiffMerger
Dim rslt as Integer

To call the function and merge TIFF files, you could use the following:

rslt = TMerge.Tiff_Merge("C:\test\test-1.tif,c:\test\test-2.tif", "C:\outputdir","newfilename.tif")
MsgBox rslt


C Sharp (C#)

  • First, be sure to add a refernce to the DLL in the Project (.NET reference)

    // create the object
    SCTiffMergeNetDLL.SCTiffMerger tiff = new SCTiffMergeNetDLL.SCTiffMerger();

    // define our variables
    int rslt;
    string sMerge = "C:\\test\\010002082569-001.tif,C:\\test\\010002082569-002.tif";
    string sOutputFile = "new.tif";
    string oDir = "C:\\Test\\";

    // call the merger
    rslt = tiff.Tiff_Merge(ref sMerge, ref oDir, ref sOutputFile);

    // display our result
    MessageBox.Show(rslt.ToString());