开发者

IcePDF viewer customization help

开发者 https://www.devze.com 2023-01-22 03:36 出处:网络
I am trying to integrate ICEpdf viewer into an existing Java Swing application.The requirements are that I want to eliminate the top and bottom tool bars and the scroll bar, which I have al开发者_如何

I am trying to integrate ICEpdf viewer into an existing Java Swing application. The requirements are that I want to eliminate the top and bottom tool bars and the scroll bar, which I have al开发者_如何学Pythonready done. The problem is that I also don't want it to have that gray area around the pdf document. I want it to show up purely as a white page on the application. Does anyone know how to achieve this?

Thanks in advance, Mike


Found the answer. In the SwingController class of ice pdf source, there is a function called setPageFitMode().


I also don't want it to have that grey area around the pdf document.

I'm unfamiliar with ICEpdf, but I don't see a gray area around this example. Perhaps it might offer some guidance. Is that the problem?

0

精彩评论

暂无评论...
验证码 换一张
取 消