Sherrod Computers - Web and Application development
TIFF Page Counter DLL.Net

TIFF Page Counter DLL

General Info

Screen Shots

Download Trial


Customers include:
More >>

Custom Application Development
Click here for information


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 (

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 SCTiffPageCountNetDLL.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 tcount As New SCTiffPageCountNetDLL.TiffPageCountv1

Now, create a sub or function to get the page count, (the following is a sample you could use):

Public Function GetPages(UseFileName as String) As Long
     GetPages = tcount.Tiff_PageCount(UseFileName)
End Function

The 'UseFileName' is the variable that contains the FULL path to the TIFF file.

To call the function and get the number of pages in the TIFF file, you could use the following:

msgbox("Number of Pages: " & GetPages("c:\temp\testtiff.tif"))