PDF Viewer ActiveX Control

SaveBitmapsBySize

 

Export the PDF Pages or specific PDF Page to Bitmap files for specific size .

Public Function SaveBitmapsBySize(
 ByVal strFileFolder As String
 ByVal iPageNo As Integer , _
 ByVal iScale As double
) as Integer 

 

Parameter
strFileFolder
the output bitmap folder or output bmp file name.

iPageNo
the specific page number for export, if set to -1 , it will export all PDF Pages.

iScale
the specific scale factor for page. 2.0 mean 200% of original page.
0.5 mean 50% of original page.


Return Value
0 - successful, otherwise return -1.

Example

   

Visual Basic Syntax
PDFViewer1.SaveBitmapsBySize "c:\temp", -1 , 2.0