문제

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

도움이 되었습니까?

해결책

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?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top