Foxit Reader SDK (ActiveX Version)
Foxit Reader SDK (ActiveX Version) allows your application to easily display
PDF documents with high quality and efficiency.
Advantages
Foxit Reader SDK ActiveX uses the same rendering engine as
Foxit Reader, so you can use this ActiveX to display any PDF file that can
be opened by Foxit Reader, with same high quality and fast speed.
The ActiveX version of Foxit Reader SDK allows the application to adopt PDF
rendering much more easier than using the DLL version of our SDK, because the
ActiveX not only displays pages, it also handles all the user interface, like
navigating, zooming, rotating, scrolling, and printing.
The ActiveX version is also more affordable than the DLL version. For more
information on licensing terms and cost, please contact
sales@foxitsoftware.com. Please
mention your are interested in the ActiveX version.
Specifically, if you speak Chinese, you may also click here to contact our branch in China.
Limitations
If you license ActiveX version of Foxit Reader SDK, co-branding is required.
That means the ActiveX control will display Foxit logo and copyright
information. It's possible that the logo area to be customized according to
licensee's requirement, however Foxit logo and copyright notice should always
visible to end user.
Also, since the ActiveX control handles user interface for you, your
application can't customize the user interaction features for reading/processing
PDF files.
If you want to hide the Foxit logo area, or you want full control on user
interface of your application, you will have to ask for a license of our
DLL version of Foxit Reader SDK
Foxit Reader SDK ActiveX can't be embedded into any web page. It has to be
accompanied by licensee's application when redistributed to end-user.
Installation
The Foxit Reader SDK control comes in a single file, to install it, use
"regsvr32 <OCX filename>" command.
The control name is "Foxit Reader SDK Control". The ProgID is "Foxit.FoxitReaderSDKCtrl".
Properties
NOTE: All properties are read-only.
- FilePath: full path of the current PDF document;
- Title: title of the current PDF document;
- Author: author as reported in current PDF document;
- PageCount: number of total pages in current document;
- CurPage: current page index. Zero for first page;
- ZoomLevel: percentage of current zoom level;
- Rotate: current rotate orientation. Zero for not rotated, 1 for
rotated clockwise, 2 for upside-down, 3 for rotated counter-clockwise.
Methods
- OpenFile: Open a PDF document;
- GotoPage: Goto any page wihtin the document;
- SetZoomLevel: Set zoom level;
- SetRotate: Set rotation orientation;
- PrintFile: Popup a "Print" dialog;
- ShowToolbar: Show or hide the toolbar;
- ShowStatusBar: Show or hide the status bar.
Demo
Click here to download a win32 demo using this ActiveX.