LATEST
NEWS - 7th January 2008
Download the evaluation trial
here

What is PDF Page Counter COM Component ?
PDF Page Counter COM Component is for ASP, Cold
Fusion, VB, .NET, PHP, VC++ and other languages.
The com component will quickly tell you how many pages are in a pdf file
without the need for acrobat,
ideal for web sites that serve pdf content.
It will also tell you if the file has security flags set: Encrypted,
Allows Print, Allows Copy, Allows Change & Allows Add Notes, can also
check password protected files if you have the password.
Example .asp, vb, .NET, ColdFusion, PHP & VC++ code included
simple ASP example of usage:-
Set Obj = Server.CreateObject("PDFPAGECOUNT.PDFPages.1")
dim pages
pages = Obj.GetPages("C:\yourpdf.pdf" )
simple VC++ example of usage:-
PDFPAGECOUNTLib::IPDFPagesPtr *pc = new PDFPAGECOUNTLib::IPDFPagesPtr( __uuidof(PDFPAGECOUNTLib::PDFPages) );
long pages = (*pc)->GetGetPages(_T("C:\\yourpdf.pdf"));
simple VB example of usage:-
Dim obj As PDFPAGECOUNTLib.PDFPages
Set obj = New PDFPAGECOUNTLib.PDFPages
dim pages
pages = obj.GetPages("C:\yourpdf.pdf")
simple ASP .NET using C# example of usage:-
PDFPageCount.PDFPages pc = new PDFPageCount.PDFPages();
int pages = pc.get_GetPages("C:\\yourpdf.pdf");
simple ColdFusion example of usage:-
<cfobject action = "Create" type = "COM" class = "PDFPageCount.PDFPages"
name = "Obj">
<cfoutput>Filename: #filename# : #Obj.GetPages( "C:\yourpdf.pdf" )#
Pages.</cfoutput>
simple PHP example of usage:-
$Obj = new COM("PDFPAGECOUNT.PDFPages");
$pages = $Obj->GetPages("C:\\yourpdf.pdf");