ViewerPreferences Class

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
This class represents a viewer preferences.
Inheritance Hierarchy

SystemObject
  Apitron.PDF.Kit.FixedLayout.ResourcesResource
    Apitron.PDF.Kit.FixedLayoutViewerPreferences

Namespace:  Apitron.PDF.Kit.FixedLayout
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public sealed class ViewerPreferences : Resource

The ViewerPreferences type exposes the following members.

Properties

  NameDescription
Public propertyCanBeExported
Gets a value indicating whether this instance can be exported.
(Inherited from Resource.)
Public propertyCode exampleCenterWindow
Gets or sets a flag specifying whether to position the document’s window in the center of the screen. Default value: false.
Public propertyCode exampleDisplayDocTitle
Gets or sets a flag specifying whether the window’s title bar should display the document title taken from the Title entry of the document information. If false, the title bar should instead display the name of the PDF file containing the document. Default value: false.
Public propertyCode exampleFitWindow
Gets or sets a flag specifying whether to resize the document’s window to fit the size of the first displayed page. Default value: false.
Public propertyCode exampleHideMenubar
Gets or sets a flag specifying whether to hide the conforming reader’s menu bar when the document is active. Default value: false.
Public propertyCode exampleHideToolbar
Gets or sets a flag specifying whether to hide the conforming reader’s tool bars when the document is active. Default value: false.
Public propertyCode exampleHideWindowUI
Gets or sets a flag specifying whether to hide user interface elements in the document’s window (such as scroll bars and navigation controls), leaving only the document’s contents displayed. Default value: false.
Public propertyCode exampleNonFullScreenPageMode
Gets or sets the document’s page mode, specifying how to display the document on exiting full-screen mode.
Public propertyResourceType
Gets the resource type.
(Inherited from Resource.)
Top
See Also

Reference