iText 9.1.0 API
|
Public Member Functions |
|
PdfViewerPreferences (PdfDictionary pdfObject) | |
virtual PdfViewerPreferences | SetHideToolbar (bool hideToolbar) |
This method sets HideToolBar flag to true or false More... |
|
virtual PdfViewerPreferences | SetHideMenubar (bool hideMenubar) |
This method sets HideMenuBar flag to true or false More... |
|
virtual PdfViewerPreferences | SetHideWindowUI (bool hideWindowUI) |
This method sets HideWindowUI flag to true or false More... |
|
virtual PdfViewerPreferences | SetFitWindow (bool fitWindow) |
This method sets FitWindow flag to true or false More... |
|
virtual PdfViewerPreferences | SetCenterWindow (bool centerWindow) |
This method sets CenterWindow flag to true or false More... |
|
virtual PdfViewerPreferences | SetDisplayDocTitle (bool displayDocTitle) |
This method sets DisplayDocTitle flag to true or false More... |
|
virtual PdfViewerPreferences | SetNonFullScreenPageMode (PdfViewerPreferences.PdfViewerPreferencesConstants nonFullScreenPageMode) |
This method sets NonFullScreenPageMode property. More... |
|
virtual PdfViewerPreferences | SetDirection (PdfViewerPreferences.PdfViewerPreferencesConstants direction) |
This method sets predominant reading order of text. More... |
|
virtual 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 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 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 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 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 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 PdfViewerPreferences | SetPickTrayByPDFSize (bool pickTrayByPdfSize) |
This method sets PickTrayByPDFSize flag to true or false. More... |
|
virtual PdfViewerPreferences | SetPrintPageRange (int[] printPageRange) |
This method sets the page numbers used to initialize the print dialog box when the file is printed. More... |
|
virtual 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 PdfViewerPreferences | SetEnforce (PdfArray enforce) |
PDF 2.0. More... |
|
virtual PdfArray | GetEnforce () |
PDF 2.0. More... |
|
virtual PdfViewerPreferences | Put (PdfName key, PdfObject value) |
![]() |
|
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 () |
Package Functions |
|
override bool | IsWrappedObjectMustBeIndirect () |
Defines if the object behind this wrapper must be an indirect object in the resultant document. More... |
|
![]() |
|
PdfObjectWrapper (T pdfObject) | |
virtual void | SetPdfObject (T pdfObject) |
virtual void | SetForbidRelease () |
virtual void | UnsetForbidRelease () |
virtual void | EnsureUnderlyingObjectHasIndirectReference () |
Additional Inherited Members |
|
![]() |
|
static void | MarkObjectAsIndirect (PdfObject pdfObject) |
static void | EnsureObjectIsAddedToDocument (PdfObject @object) |
Some wrappers use object's indirect reference to obtain the PdfDocument to which the object belongs to. More... |
|
|
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
|
inlinepackagevirtual |
Defines if the object behind this wrapper must be an indirect object in the resultant document.
Defines if the object behind this wrapper must be an indirect object in the resultant document.
If this method returns true it doesn't necessarily mean that object must be in the indirect state at any moment, but rather defines that when the object will be written to the document it will be transformed into indirect object if it's not indirect yet.
Return value of this method shouldn't depend on any logic, it should return always true or false.
Implements iText.Kernel.Pdf.PdfObjectWrapper< PdfDictionary >.
|
inlinevirtual |
This method sets CenterWindow flag to true or false
centerWindow | CenterWindow flag's boolean value |
|
inlinevirtual |
This method sets predominant reading order of text.
direction | reading order type value |
|
inlinevirtual |
This method sets DisplayDocTitle flag to true or false
displayDocTitle | DisplayDocTitle flag's boolean value |
|
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 | paper handling option's type value |
|
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 | FitWindow flag's boolean value |
|
inlinevirtual |
This method sets HideMenuBar flag to true or false
hideMenubar | HideMenuBar flag's boolean value |
|
inlinevirtual |
This method sets HideToolBar flag to true or false
hideToolbar | HideToolBar flag's boolean value |
|
inlinevirtual |
This method sets HideWindowUI flag to true or false
hideWindowUI | HideWindowUI flag's boolean value |
|
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 | NonFullScreenPageMode property type value |
|
inlinevirtual |
This method sets the number of copies that shall be printed when the print dialog is opened for this file.
numCopies | the number of copies to print when the print dialog is opened |
|
inlinevirtual |
This method sets PickTrayByPDFSize flag to true or false.
pickTrayByPdfSize | PickTrayByPDFSize flag's boolean value |
|
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 | page boundary type value |
|
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 | page boundary type value |
|
inlinevirtual |
This method sets the page numbers used to initialize the print dialog box when the file is printed.
printPageRange | the array of page numbers |
|
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 | page scaling option's type value |
|
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 | page boundary type value |
|
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 | page boundary type value |