PDFView4NET WinForms Edition
CenterWindow Property




O2S.Components.PDFView4NET Namespace > PDFViewerPreferences Class : CenterWindow Property
Gets or sets a value indicating whether the document's window should be centered on the screen.
Syntax
'Declaration
 
Public Property CenterWindow As Boolean
'Usage
 
Dim instance As PDFViewerPreferences
Dim value As Boolean
 
instance.CenterWindow = value
 
value = instance.CenterWindow
public bool CenterWindow {get; set;}
public: __property bool get_CenterWindow();
public: __property void set_CenterWindow( 
   bool value
);
public:
property bool CenterWindow {
   bool get();
   void set (    bool value);
}

Property Value

True if the document's window should be centered on the screen. Default is false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFViewerPreferences Class
PDFViewerPreferences Members