code: public void setView(boolean view) {
          PdfDictionary usage = getUsage();
          PdfDictionary dic = new PdfDictionary();
          dic.put(PdfName.VIEWSTATE, view ? PdfName.ON : PdfName.OFF);
          usage.put(PdfName.VIEW, dic);
      }
docs: Indicates that the group should be set to that state when the
  document is opened in a viewer application.
  @param view the view state