1

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

MBU
  • 4,998
  • 12
  • 59
  • 98

2 Answers2

1

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

MBU
  • 4,998
  • 12
  • 59
  • 98
0

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?

trashgod
  • 203,806
  • 29
  • 246
  • 1,045