Click or drag to resize

PDFDocViewPrefs Class

PDFDocViewPrefs is a high-level utility class that can be used to control the way the document is to be presented on the screen or in print. PDFDocViewPrefs class corresponds to PageMode, PageLayout, and ViewerPreferences entries in the document’s catalog. For more details please refer to section 8.1 'Viewer Preferences' in PDF Reference Manual.
Inheritance Hierarchy
SystemObject
  pdftron.PDFPDFDocViewPrefs

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class PDFDocViewPrefs : IClosable

The PDFDocViewPrefs type exposes the following members.

Methods
  NameDescription
Public methodClose
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetDirection
Gets the direction.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLayoutMode
Gets the layout mode.
Public methodGetPageMode
Gets the page mode.
Public methodGetPref
Gets the pref.
Public methodGetPrintArea
Gets the prints the area.
Public methodGetPrintClip
Gets the prints the clip.
Public methodGetSDFObj
Gets the SDFObj.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetViewArea
Gets the view area.
Public methodGetViewClip
Gets the view clip.
Public methodSetDirection
Set the document’s page mode, specifying how to display the document on exiting full-screen mode.
Public methodSetInitialPage
Public methodSetLayoutMode
Sets PageLayout property and change the value of the PageLayout key in the Catalog dictionary.
Public methodSetPageMode
Sets PageMode property and change the value of the PageMode key in the Catalog dictionary.
Public methodSetPref
Sets the value of given ViewerPref property.
Public methodSetPrintArea
Sets the page boundary representing the area of a page to be rendered when printing the document.
Public methodSetPrintClip
Sets the page boundary to which the contents of a page are to be clipped when printing the document.
Public methodSetViewArea
Sets the page boundary representing the area of a page to be displayed when viewing the document on the screen.
Public methodSetViewClip
Sets the page boundary to which the contents of a page are to be clipped when viewing the document on the screen.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also