|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.pdf.PdfViewerPreferences
public class PdfViewerPreferences
Defines the way the document is to be presented on the screen or in print.
Constructor Summary | |
---|---|
PdfViewerPreferences()
|
|
PdfViewerPreferences(PdfCatalog catalog)
|
Method Summary | |
---|---|
boolean |
getCenterWindow()
A flag specifying whether to position the documents window in the center of the screen. |
boolean |
getDisplayTitle()
A flag specifying whether the windows title bar should display the document title taken from the Title entry of the document information dictionary. |
boolean |
getFitWindow()
A flag specifying whether to resize the documents window to fit the size of the first displayed page. |
boolean |
getHideMenubar()
Gets the hide viewer applications menu bar when the document is active. |
boolean |
getHideToolbar()
A flag specifying whether to hide the viewer applications tool bars when the document is active. |
boolean |
getHideWindowUI()
A flag specifying whether to hide user interface elements in the documents window (such as scroll bars and navigation controls), leaving only the documents contents displayed. |
PdfPageLayout |
getPageLayout()
A name object specifying the page layout to be used when the document is opened. |
PdfPageMode |
getPageMode()
A name object specifying how the document should be displayed when opened. |
PrintScalingMode |
getPrintScaling()
Gets or Set the page scaling option to be selected when a print dialog is displayed for this document. |
void |
setBookMarkExpandOrCollapse(boolean value)
Sets Expand or Collapse |
void |
setCenterWindow(boolean value)
Sets the documents window in the center of the screen |
void |
setDisplayTitle(boolean value)
Sets the flag to specify whether the windows title bar should display the document title taken from the Title entry of the document information dictionary. |
void |
setFitWindow(boolean value)
Sets the flag of the documents window to fit the size of the first displayed page. |
void |
setHideMenubar(boolean value)
A flag specifying whether to hide the viewer applications menu bar when the document is active. |
void |
setHideToolbar(boolean value)
Sets the hide viewer applications tool bars when the document is active. |
void |
setHideWindowUI(boolean value)
Sets the elements of the hide user interface in the documents window (such as scroll bars and navigation controls), leaving only the documents contents displayed. |
void |
setPageLayout(PdfPageLayout value)
Sets the value to specify the page layout to be used when the document is opened. |
void |
setPageMode(PdfPageMode value)
Sets the value to specify how the document should be displayed when opened. |
void |
setPrintScaling(PrintScalingMode value)
Sets the page scaling option to be selected when a print dialog is displayed for this document. |
Constructor Detail |
---|
public PdfViewerPreferences()
public PdfViewerPreferences(PdfCatalog catalog)
Method Detail |
---|
public boolean getCenterWindow()
public void setCenterWindow(boolean value)
value
- public void setBookMarkExpandOrCollapse(boolean value)
public boolean getDisplayTitle()
public void setDisplayTitle(boolean value)
value
- public boolean getFitWindow()
public void setFitWindow(boolean value)
value
- public boolean getHideMenubar()
public void setHideMenubar(boolean value)
value
- public boolean getHideToolbar()
public void setHideToolbar(boolean value)
value
- public boolean getHideWindowUI()
public void setHideWindowUI(boolean value)
value
- public PdfPageMode getPageMode()
public void setPageMode(PdfPageMode value)
value
- public PdfPageLayout getPageLayout()
public void setPageLayout(PdfPageLayout value)
value
- public PrintScalingMode getPrintScaling()
public void setPrintScaling(PrintScalingMode value)
value
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |