March 2017

How can I print layers which are supposed only to be printed but not displayed?

by Conor Smith | March 26, 2017
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 […]
Keep reading Keep reading

How can I add an object to FormXObject?

by Conor Smith | March 26, 2017
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. […]
Keep reading Keep reading

After creating a new FreeText annotation, I called FSPDF_Annot_SetContents to set its contents, and then called FSPDF_Annot_ResetAppearance. But why are the contents not displayed?

by Conor Smith | March 26, 2017
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 […]
Keep reading Keep reading

How can I determine the width and height of a text object before inserting it to a page, which is in order to calculate the starting position more conveniently?

by Conor Smith | March 26, 2017
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 […]
Keep reading Keep reading

How can I make WebPDF Viewer run successfully if the front-end of WebPDF Viewer is hosted on a different domain from the back-end?

by Conor Smith | March 26, 2017
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 […]
Keep reading Keep reading

Why there is no signature function when I run the demo?

by Conor Smith | March 26, 2017
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 […]
Keep reading Keep reading

Why is the number of pages of the output file more than that of the original file in WebPDF Viewer when I print the output file? How do you solve it?

by Conor Smith | March 26, 2017
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 […]
Keep reading Keep reading

How can I check the log information of WebPDF Viewer?

by Conor Smith | March 26, 2017
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 […]
Keep reading Keep reading
Used everywhere

Trusted by