iText 7 7.1.8 API
|
Public Member Functions |
|
PdfViewerPreferences (PdfDictionary pdfObject) | |
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetHideToolbar (bool hideToolbar) |
This method sets HideToolBar flag to true or false More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetHideMenubar (bool hideMenubar) |
This method sets HideMenuBar flag to true or false More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetHideWindowUI (bool hideWindowUI) |
This method sets HideWindowUI flag to true or false More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetFitWindow (bool fitWindow) |
This method sets FitWindow flag to true or false More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetCenterWindow (bool centerWindow) |
This method sets CenterWindow flag to true or false More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetDisplayDocTitle (bool displayDocTitle) |
This method sets DisplayDocTitle flag to true or false More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetNonFullScreenPageMode (PdfViewerPreferences.PdfViewerPreferencesConstants nonFullScreenPageMode) |
This method sets NonFullScreenPageMode property. More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetDirection (PdfViewerPreferences.PdfViewerPreferencesConstants direction) |
This method sets predominant reading order of text. More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetViewArea (PdfViewerPreferences.PdfViewerPreferencesConstants pageBoundary) |
This method sets the name of the page boundary representing the area of a page that shall be displayed when viewing the document on the screen. More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetViewClip (PdfViewerPreferences.PdfViewerPreferencesConstants pageBoundary) |
This method sets the name of the page boundary to which the contents of a page shall be clipped when viewing the document on the screen. More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetPrintArea (PdfViewerPreferences.PdfViewerPreferencesConstants pageBoundary) |
This method sets the name of the page boundary representing the area of a page that shall be rendered when printing the document. More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetPrintClip (PdfViewerPreferences.PdfViewerPreferencesConstants pageBoundary) |
This method sets the name of the page boundary to which the contents of a page shall be clipped when printing the document. More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetPrintScaling (PdfViewerPreferences.PdfViewerPreferencesConstants printScaling) |
This method sets the page scaling option that shall be selected when a print dialog is displayed for this document. More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetDuplex (PdfViewerPreferences.PdfViewerPreferencesConstants duplex) |
This method sets the paper handling option that shall be used when printing the file from the print dialog. More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetPickTrayByPDFSize (bool pickTrayByPdfSize) |
This method sets PickTrayByPDFSize flag to true or false. More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetPrintPageRange (int[] printPageRange) |
This method sets the page numbers used to initialize the print dialog box when the file is printed. More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetNumCopies (int numCopies) |
This method sets the number of copies that shall be printed when the print dialog is opened for this file. More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | SetEnforce (PdfArray enforce) |
PDF 2.0. More... |
|
virtual PdfArray | GetEnforce () |
PDF 2.0. More... |
|
virtual iText.Kernel.Pdf.PdfViewerPreferences | Put (PdfName key, PdfObject value) |
Public Member Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary > | |
virtual T | GetPdfObject () |
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document, PdfIndirectReference reference) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | SetModified () |
virtual void | Flush () |
virtual bool | IsFlushed () |
Enumerator | |
---|---|
USE_NONE | PageMode constant for PdfName.NonFullScreenPageMode |
USE_OUTLINES | PageMode constant for PdfName.NonFullScreenPageMode |
USE_THUMBS | PageMode constant for PdfName.NonFullScreenPageMode |
USE_OC | PageMode constant for PdfName.NonFullScreenPageMode |
LEFT_TO_RIGHT | Direction constant for PdfName.Direction |
RIGHT_TO_LEFT | Direction constant for PdfName.Direction |
MEDIA_BOX | PageBoundary constant for PdfViewerPreferencesConstants.VIEW_AREA , PdfViewerPreferencesConstants.VIEW_CLIP , PdfViewerPreferencesConstants.PRINT_AREA , PdfViewerPreferencesConstants.PRINT_CLIP |
CROP_BOX | PageBoundary constant for PdfViewerPreferencesConstants.VIEW_AREA , PdfViewerPreferencesConstants.VIEW_CLIP , PdfViewerPreferencesConstants.PRINT_AREA , PdfViewerPreferencesConstants.PRINT_CLIP |
BLEED_BOX | PageBoundary constant for PdfViewerPreferencesConstants.VIEW_AREA , PdfViewerPreferencesConstants.VIEW_CLIP , PdfViewerPreferencesConstants.PRINT_AREA , PdfViewerPreferencesConstants.PRINT_CLIP |
TRIM_BOX | PageBoundary constant for PdfViewerPreferencesConstants.VIEW_AREA , PdfViewerPreferencesConstants.VIEW_CLIP , PdfViewerPreferencesConstants.PRINT_AREA , PdfViewerPreferencesConstants.PRINT_CLIP |
ART_BOX | PageBoundary constant for PdfViewerPreferencesConstants.VIEW_AREA , PdfViewerPreferencesConstants.VIEW_CLIP , PdfViewerPreferencesConstants.PRINT_AREA , PdfViewerPreferencesConstants.PRINT_CLIP |
VIEW_AREA | ViewArea constant. |
VIEW_CLIP | ViewClip constant. |
PRINT_AREA | PrintArea constant. |
PRINT_CLIP | PrintClip constant. |
NONE | Page scaling option constant for PdfName.PrintScaling |
APP_DEFAULT | Page scaling option constant for PdfName.PrintScaling |
SIMPLEX | The paper handling option constant for PdfName.Duplex |
DUPLEX_FLIP_SHORT_EDGE | The paper handling option constant for PdfName.Duplex |
DUPLEX_FLIP_LONG_EDGE | The paper handling option constant for PdfName.Duplex |
|
inlinevirtual |
PDF 2.0.
PDF 2.0. Gets an array of names of Viewer preference settings that shall be enforced by PDF processors and that shall not be overridden by subsequent selections in the application user interface
|
inlinevirtual |
This method sets CenterWindow flag to true or false
centerWindow |
|
inlinevirtual |
This method sets predominant reading order of text.
direction |
|
inlinevirtual |
This method sets DisplayDocTitle flag to true or false
displayDocTitle |
|
inlinevirtual |
This method sets the paper handling option that shall be used when printing the file from the print dialog.
This method sets the paper handling option that shall be used when printing the file from the print dialog. The following values are valid: Simplex, DuplexFlipShortEdge, DuplexFlipLongEdge.
duplex |
|
inlinevirtual |
PDF 2.0.
PDF 2.0. Sets an array of names of Viewer preference settings that shall be enforced by PDF processors and that shall not be overridden by subsequent selections in the application user interface
enforce | array of names specifying settings to enforce in the PDF processors |
|
inlinevirtual |
This method sets FitWindow flag to true or false
fitWindow |
|
inlinevirtual |
This method sets HideMenuBar flag to true or false
hideMenubar |
|
inlinevirtual |
This method sets HideToolBar flag to true or false
hideToolbar |
|
inlinevirtual |
This method sets HideWindowUI flag to true or false
hideWindowUI |
|
inlinevirtual |
This method sets NonFullScreenPageMode property.
This method sets NonFullScreenPageMode property. Allowed values are UseNone, UseOutlines, useThumbs, UseOC. This entry is meaningful only if the value of the PageMode entry in the Catalog dictionary is FullScreen
nonFullScreenPageMode |
|
inlinevirtual |
This method sets the number of copies that shall be printed when the print dialog is opened for this file.
numCopies |
|
inlinevirtual |
This method sets PickTrayByPDFSize flag to true or false.
pickTrayByPdfSize |
|
inlinevirtual |
This method sets the name of the page boundary representing the area of a page that shall be rendered when printing the document.
This method sets the name of the page boundary representing the area of a page that shall be rendered when printing the document. Deprecated in PDF 2.0.
pageBoundary |
|
inlinevirtual |
This method sets the name of the page boundary to which the contents of a page shall be clipped when printing the document.
This method sets the name of the page boundary to which the contents of a page shall be clipped when printing the document. Deprecated in PDF 2.0.
pageBoundary |
|
inlinevirtual |
This method sets the page numbers used to initialize the print dialog box when the file is printed.
printPageRange |
|
inlinevirtual |
This method sets the page scaling option that shall be selected when a print dialog is displayed for this document.
This method sets the page scaling option that shall be selected when a print dialog is displayed for this document. Valid values are None and AppDefault.
printScaling |
|
inlinevirtual |
This method sets the name of the page boundary representing the area of a page that shall be displayed when viewing the document on the screen.
This method sets the name of the page boundary representing the area of a page that shall be displayed when viewing the document on the screen. Deprecated in PDF 2.0.
pageBoundary |
|
inlinevirtual |
This method sets the name of the page boundary to which the contents of a page shall be clipped when viewing the document on the screen.
This method sets the name of the page boundary to which the contents of a page shall be clipped when viewing the document on the screen. Deprecated in PDF 2.0.
pageBoundary |