Insights, tutorials, and updates from the Foxit PDF SDK engineering team.
Foxit PDF SDK provides parameter setting to control printing. We can set the parameter “flag” in the interface FSPDF_RenderContext_SetFlags(FSPDF_RENDERCONTEXT pdfRenderContext, FS_DWORD flags) to “FSPDF_RENDERCONTEXTFLAG_OCGPRINT” to print the layers as intended. Note: This article refers to a deprecated version of a Foxit Product. If you are still using Foxit PDF SDK 5.3 or older, please refer [...]
FormXObject is one kind of PageObject. So we can call the interface FSPDF_PageObjects_InsertObject to add an object to FormXObject. Note: This article refers to a deprecated version of a Foxit Product. If you are still using Foxit PDF SDK 5.3 or older, please refer to your download package documents for Developer Guide and API Reference. [...]
For a FreeText annotation, it’s necessary to set its default appearance (DA). Calling the interface FSPDF_Annot_SetDefaultAppearance is needed for this task. Usually, we suggest setting up at least FSPDF_DEFAULTAPPEARANCE::font and FSPDF_DEFAULTAPPEARANCE::fontSize, while setting the value of FSPDF_DEFAULTAPPEARANCE::flags to FSPDF_DEFAULTAPPEARANCE_FONT. Note: This article refers to a deprecated version of a Foxit Product. If you are still [...]
Foxit PDF SDK provides the interface FSCRT_Font_GetCharBBox (FSCRT_Font font, FS_DWORD Unicode, FSCRT_RECT * bbox) to get the width and height of a text object. Note: This article refers to a deprecated version of a Foxit Product. If you are still using Foxit PDF SDK 5.3 or older, please refer to your download package documents for [...]
If your project which needs to be integrated with WebPDF Viewer is in a different domain from the WebPDF Viewer, you need to copy all the static files (front-end) of WebPDF Viewer into the webapp folder of your project. Also, you should modify the parameter of customizedUrl when you initialize the Viewer in ../viewer/webapp/scripts/control/pc/demo.js. For [...]
It might because the rendering engine is set to JavaScript rendering in the console. The JavaScript Rendering engine does not support any signature feature at present in the demo. Note: This article refers to a deprecated version of a Foxit Product. If you are still using Foxit WebPDF Viewer, please refer to your download package [...]
Please make sure to turn on the session function of web container when deployment WebPDF Viewer since WebPDF Viewer need to cache user session. Note: This article refers to a deprecated version of a Foxit Product. If you are still using Foxit WebPDF Viewer, please refer to your download package documents for Developer Guide and [...]
The print configurations are not the same for different browsers. Therefore, we suggest setting the correct layout, paper size, and margins before printing. Note: This article refers to a deprecated version of a Foxit Product. If you are still using Foxit WebPDF Viewer, please refer to your download package documents for Developer Guide and API [...]
Please find the log information of WebPDF Viewer in the log folder in the root of the installation directory. You can clear the log files when the folder is full. Note: This article refers to a deprecated version of a Foxit Product. If you are still using Foxit WebPDF Viewer, please refer to your download [...]
If you are using IE for viewing purposes, please check whether the browser is compatible. WebPDF Viewer does not support the older IE versions like IE 6 or IE7, as the file display may be corrupted if used by these versions Note: This article refers to a deprecated version of a Foxit Product. If you [...]