×
Menu
Index

RenderToBMP

 
 
ยท RenderToBMP( cFileName, oBmp ,nRes, nPag ) => Render's the named file to any Xbase Bitmap object. This method can be used to create your own viewer, to print PDF files, or even to change the contents of an existing PDF, adding or erasing elements, saving the rendered page as an image (BMP, JPEG, etc) files or any other desired usage.
 
 
cFileName (character) : full filename of PDF file (including path, if not in current folder) to be rendered.
 
oBmp (object) : Xbase++ bitmap object.
 
nRes (numeric) : Resolution (DPI) for the rendering, default is 150. Any resolution above 300 DPI can cause an excessive amount of memory usage.
 
nPag (numeric) : Page number to render, any number between 1 and the total number of pages in the PDF file. Default is 1.