Exemplo n.º 1
0
 /// <summary>This method sets DisplayDocTitle flag to true or false</summary>
 /// <param name="displayDocTitle"/>
 public virtual iText.Kernel.Pdf.PdfViewerPreferences SetDisplayDocTitle(bool displayDocTitle)
 {
     return(Put(PdfName.DisplayDocTitle, PdfBoolean.ValueOf(displayDocTitle)));
 }
Exemplo n.º 2
0
 /// <summary>This method sets PickTrayByPDFSize flag to true or false.</summary>
 /// <param name="pickTrayByPdfSize"/>
 public virtual iText.Kernel.Pdf.PdfViewerPreferences SetPickTrayByPDFSize(bool pickTrayByPdfSize)
 {
     return(Put(PdfName.PickTrayByPDFSize, PdfBoolean.ValueOf(pickTrayByPdfSize)));
 }
Exemplo n.º 3
0
 /// <summary>This method sets CenterWindow flag to true or false</summary>
 /// <param name="centerWindow"/>
 public virtual iText.Kernel.Pdf.PdfViewerPreferences SetCenterWindow(bool centerWindow)
 {
     return(Put(PdfName.CenterWindow, PdfBoolean.ValueOf(centerWindow)));
 }
Exemplo n.º 4
0
 /// <summary>This method sets FitWindow flag to true or false</summary>
 /// <param name="fitWindow"/>
 public virtual iText.Kernel.Pdf.PdfViewerPreferences SetFitWindow(bool fitWindow)
 {
     return(Put(PdfName.FitWindow, PdfBoolean.ValueOf(fitWindow)));
 }
Exemplo n.º 5
0
 /// <summary>This method sets HideWindowUI flag to true or false</summary>
 /// <param name="hideWindowUI"/>
 public virtual iText.Kernel.Pdf.PdfViewerPreferences SetHideWindowUI(bool hideWindowUI)
 {
     return(Put(PdfName.HideWindowUI, PdfBoolean.ValueOf(hideWindowUI)));
 }
Exemplo n.º 6
0
 /// <summary>This method sets HideMenuBar flag to true or false</summary>
 /// <param name="hideMenubar"/>
 public virtual iText.Kernel.Pdf.PdfViewerPreferences SetHideMenubar(bool hideMenubar)
 {
     return(Put(PdfName.HideMenubar, PdfBoolean.ValueOf(hideMenubar)));
 }
 /// <summary>This method sets HideToolBar flag to true or false</summary>
 /// <param name="hideToolbar">HideToolBar flag's boolean value</param>
 /// <returns>
 /// current instance of
 /// <see cref="PdfViewerPreferences"/>
 /// </returns>
 public virtual PdfViewerPreferences SetHideToolbar(bool hideToolbar)
 {
     return(Put(PdfName.HideToolbar, PdfBoolean.ValueOf(hideToolbar)));
 }