Question

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 already 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

Was it helpful?

Solution

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

OTHER TIPS

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?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top