*
* @return The document's viewer preferences.
*/
public PDViewerPreferences getViewerPreferences()
{
PDViewerPreferences retval = null;
COSDictionary dict = (COSDictionary)root.getDictionaryObject( COSName.VIEWER_PREFERENCES );
if( dict != null )
{
retval = new PDViewerPreferences( dict );
}
return retval;
}