voyent
Properties Manager Not known on ice pdf opensource version 6.3.0  XML
Forum Index -> ICEpdf General
Author Message
myoaung

Joined: 29/Jul/2019 11:09:47
Messages: 1
Offline


PropertiesManager properties = new PropertiesManager(System.getProperties(),
ResourceBundle.getBundle(PropertiesManager.DEFAULT_MESSAGE_BUNDLE));

on above code, PropertiesManager is unknown .
Before in version 4.3.3 it works fine it import "org.icepdf.core.views.DocumentViewController;"
but in 6.3.0 the above import directory not existed.

the error is PropertiesManager (Properties,ResourceBundle ) is undefined

I want to change the default properties of the pdf viewer such as hiding the tool bar or making the page fit to the screen. In earlier version 4.3.3 i do it with the above code. But in version 6.3.0 the above code gets error.
If you know the code for changing the default properties of the library
please help me.


Thanks for reading!
patrick.corless

Joined: 26/Oct/2004 00:00:00
Messages: 1982
Offline


There is a simple example here of how to use the new API.

http://sventon.icesoft.org/svn/repos/repo/show/icepdf/trunk/icepdf/examples/component/src/main/java/org/icepdf/os/examples/component/ViewerComponentExample.java?revision=HEAD
[Email]
 
Forum Index -> ICEpdf General
Go to:   
Powered by JForum 2.1.7ice © JForum Team