Image2PDF.dll 64 bit
====================

>>> This is the shareware version... 
>>> Try before you buy... 
>>> And if there're any questions - please ask me. 
>>> Thanks for trying!

You can use it with all well known ides (.NET-IDEs, too!)
Try it with Visual Basic, VB Express, CSharp, VBA, Delphi, C, C++, ...

About installation and working with the dll...
----------------------------------------------
This dll doesn't have an entry point so it's not necessary to register it.
Only copying into the system32-directory or in the directory where your application is installed.
If you're using vba (from ms access or excel for example) you should declare the functions as private and not public.
If you're using vba (from ms access or excel for example) the dll should be:
in the system32-path (32-bit-dll on 32-bit-system),
in the syswow64-path (32-bit-dll on 64-bit-system) or
in the system32-path (64-bit-dll on 64-bit-system).
Using other IDEs like Delphi or C++ for example you can put the dll into the application-path, too.

For the library there is a help-program to test the functions immediately:
--------------------------------------------------------------------------
H_Image2PDF.exe

Source samples:
---------------
As source samples (for 32-bit-versions) there is a delphiXE-, C#-, vb.NET- and vb6-project included:
sample_code_32_bit_Image2PDF.zip


contact:  webmaster@pdf-analyzer.com
order at: www.PDF-Analyzer.com

Ingo Schmoekel
- Software-Dev.& Distribution -
Zedernstr.30a
D-28832 Achim - Uesen
GERMANY


Kinds of returned (error) codes for GetPDFPageCount:
----------------------------------------------------
9001 = File not found or not readable
9002 = No pdf-file
9003 = File not readable 'cause an encrypted cross-reference 
If it's all okay the pagecount of the selected document will be returned.

Kinds of returned (error) codes for Img2PDF:
--------------------------------------------
9001 = Image-Path/File not found
9002 = PDF-Path/File not found (if option ADD was used)
9003 = Only PDF-type as output allowed 
0    = The image-file couldn't be rendered onto pdf-page
1    = Creation of pdf-page was okay
If it's all okay normally the "1" will be returned.

Kinds of returned (error) codes for GetImgw/GetImgh:
----------------------------------------------------
9001 = Image-Path/File not found
9002 = Image-type not allowed (allowed are: jpg, tif, png, bmp, gif, wmf, emf)
0    = The image-width or -height couldn't be determined
If it's all okay normally the pixel-value for image-width or -heigth will be returned.


functions with the type of values and the meaning:
--------------------------------------------------

GetImgw

function GetImgw(const FileName: PChar): LongInt; stdcall;

   FileName (PChar/String)
   That's the image-file/-path  and can't be empty ;-)

GetImgh

function GetImgh(const FileName: PChar): LongInt; stdcall;

   FileName (PChar/String)
   That's the image-file/-path  and can't be empty ;-)

Img2PDF

function Img2PDF(const ImageName: PChar; PDFName: PChar; imgw: LongInt; imgh: LongInt; add: LongInt): LongInt; stdcall;

   ImageName (PChar/String)
   That's the image-file/-path  and can't be empty ;-)

   PDFName (PChar/String)
   That's the pdf-file/-path needed for option ADD
   If it's missing the image-filename with a ".pdf" will be used automatically

   imgw (LongInt/Integer)
   If you don't want the original image-width on the pdf-page this parameter can be used
   If it's missing the original image-width will be used for the output

   imgh (LongInt/Integer)
   If you don't want the original image-heigth on the pdf-page this parameter can be used
   If it's missing the original image-heigth will be used for the output

   add (LongInt/Integer)
   If this option is set to value 1 the new image-output will be append to an existing pdf
   If parameter PDFName is empty then a new pdf will be created

