PdfViewerPreference Enumeration
In This Topic
Specifies the viewer preference settings to control the way the document is presented on the screen in Adobe Reader or Acrobat viewer.
Syntax
'Declaration
<ComVisibleAttribute(True)>
Public Enum PdfViewerPreference
Inherits System.Enum
[ComVisible(true)]
public enum PdfViewerPreference : System.Enum
public enum PdfViewerPreference = class(System.Enum)
ComVisibleAttribute()
public enum PdfViewerPreference extends System.Enum
[ComVisible(true)]
__value public enum PdfViewerPreference : public System.Enum
[ComVisible(true)]
public enum class PdfViewerPreference : public System.Enum
Members
Member | Value | Description |
PdfViewerPreferenceCenterWindow | 4 | (Optional) A flag specifying whether to position the document’s window in the center of the screen. Default value: false. |
PdfViewerPreferenceDisplayDocTitle | 5 | (Optional; PDF 1.4) A flag specifying whether the window’s title bar should display the document title taken from the Title entry of the document information dictionary.
If false, the title bar should instead display the name of the PDF file containing the document. Default value: false. |
PdfViewerPreferenceFitWindow | 3 | (Optional) A flag specifying whether to resize the document’s window to fit the size of the first displayed page. Default value: false. |
PdfViewerPreferenceHideMenubar | 1 | (Optional) A flag specifying whether to hide the viewer application’s menu bar when the document is active. Default value: false. |
PdfViewerPreferenceHideToolbar | 0 | A flag specifying whether to hide the viewer application’s tool bars when the document is active. Default value: false. |
PdfViewerPreferenceHideWindowUI | 2 | (Optional) 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 content displayed. Default value: false. |
Inheritance Hierarchy
System.Object
System.ValueType
System.Enum
GdPicture14.PdfViewerPreference
See Also