×
Menu
Index

Intro

 
 
 
This class was created to fill a need to Xbase++ users around the world, as noted by the many threads existing in the Xbase News Group about viewing and printing PDF files from Xbase++ applications.
This is a very simple class with very little effort in terms of programming, of course implementing it will require code changes, but the benefits are worth it.
 
An example of a simple program would be :
 
PROCEDURE MAIN
   pdf := XbpPDF():New()
 
// Initializes the PDF object
   pdf:Create( )
 
// Creates the ViP object
   pdf:View( "Demo.PDF" )
 
// Views the loaded PDF on screen
   pdf:Print( "Demo.PDF" )
 
// Prints the file to any windows printer
   pdf:Destroy()
 
// Terminates and release resources
Return