Ingo Schmoekel
Software-Dev.& Distribution

Start Contact Products Downloads Ordering Links References Please read my blog

Back to products ...

Appvisor: PDFtext as pad-file ...

PDFtext - A dll for your pdf-files... Royalty free!

With this dll you can get the complete text-content out of your pdf-files.

Doing this there are three options:
1. As an automated textexport into a textfile.
2. As clipboard content.
3. As a returning string.
The additional function GetPDFPageCount returns the pagecount of the processed pdf-document!

There are further influencing parameters:
1. Showing a sandclock while processing.
2. Selection of single pages for extraction.
3. Returning hash-values (to check if a document was changed).
4. Textextraction as a word-list.
5. Textextraction with or without position data.
6. Textextraction similar to the original pdf-layout.
7. And more ...

This new version extracts in unicode format (utf8).
So now it can be used worldwide!
The PDFtext.dll comes along in one package with two dll-versions:
1. As 32-bit-dll.
2. As 64-bit-dll.
The component was completely revised!
The extract routines were speeded up!
The dll-package will be published with helping guides in pdf-format and complete sample-projects (32-bit for VB6, VB.NET, C# and Delphi)!

40, 128 or 256 bit ...
RC4 or AES ...
Now the newest pdf-specs will be supported!


The dll is working with all main IDEs and programming languages (VBA, Visual Basic, VB2xxx Express, Delphi, C, C++, VC++, C#, PowerBuilder, ...).

The differences between test- and full version:
The testversion first shows one message screen before the function will be processed.
So you can test the quality of the function. This message don't pop up in the full version! If you've already build applications with the test-version don't throw them away - if you buy the full version you only have to replace the dll. That's all!

How to use the PDFtext.dll in your own applications and solutions:
It's a developer-dll - One dll-licence for one developer. You can distribute the full version of the dll as a part of your application without any limitation! It's not allowed to distribute the library alone! With your app the one time bought library can be distributed without paying anymore... It's royalty free! Buy the dll one time and distribute it as often as you want included in your app.

Still questions? Please have a look into the helping guide(s):


Below you'll find code snippets from using the 32-bit-dll with Visual Basic 6.0

The declarations in Module1.bas:

Public Declare Function GetPDFPageCount Lib "PDFtext.dll" (ByVal FileName As String) As Integer
Public Declare Function GetPDFText Lib "PDFtext.dll" (ByVal FileName As String, ByVal opt As Integer, ByVal hw As Integer, ByVal fast As Integer, ByVal target As String, ByVal xlspaces As Integer, ByVal ptitel As String, ByVal pos As Integer, ByVal page As Integer, ByVal clock As Integer, ByVal blank As Integer, ByVal ende As Integer, ByVal wlist As Integer) As Long
Public Declare Function apiLStrCopyW Lib "kernel32.dll" Alias "lstrcpyW" (ByVal lpString1 As Long, ByVal lpString2 As Long) As Long
Public Declare Function apiLStrLenW Lib "kernel32.dll" Alias "lstrlenW" (ByVal lpString As Long) As Long

Public Function GetStringFromPtrW(ByVal ptr As Long) As String
    'create a matching buffer
    GetStringFromPtrW = String$(apiLStrLenW(ptr), 0)
    'copying the string into the buffer
    apiLStrCopyW StrPtr(GetStringFromPtrW), ptr
End Function

A button-click for GetPDFPageCount in Form1.frm:

Private Sub Command1_Click()
    Dim sPfad() As Byte
    sPfad = StrConv(Text1.Text, vbUnicode)
    Text7.Text = Str(GetPDFPageCount(sPfad))
End Sub

A button-click for GetPDFText in Form1.frm:

Private Sub option3_Click()     Dim sPfad() As Byte
    Dim tPfad() As Byte
    Dim title() As Byte
    Dim sp As Integer

   ' now all the other function-parameters ...

   ' some other processing ...

    sPfad = StrConv(Text1.Text, vbUnicode)
    tPfad = StrConv(Text3.Text, vbUnicode)
    title = StrConv(Text4.Text, vbUnicode)

    Text2.Text = GetStringFromPtrW(GetPDFText(sPfad, 3, hv, fa, tPfad, sp, title, po, pa, cl, bl, st, wl))

End Sub

COPYRIGHT: All used names in documentation, the program or this complete website from companies, products and trademarks are subject usually to marks, patents or trademarks and belongs to the registered companies and/or individuals in each case! All other designations fall under the copyright protection of Ingo Schmoekel. Please consider this. All procedures/programs specified on this homepage are intended only for amateur and/or instruction purposes. The patent situation remains unconsidered thereby. All data and information on this homepage were gathered with largest care. Nevertheless no warranty of any kind for consequences while using it can be taken over, which are due to incorrect information made here.

2005 - 2015 by www.PDF-Analyzer.com / Ingo Schmoekel