|
|||||||||
| 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( 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( 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 | ||||||||