PDFView4NET WinForms Edition
FitWindow Property




O2S.Components.PDFView4NET Namespace > PDFViewerPreferences Class : FitWindow Property
Gets or sets a value indicating whether the document's window should be resized to match the size of the first displayed page.
Syntax
'Declaration
 
Public Property FitWindow As Boolean
'Usage
 
Dim instance As PDFViewerPreferences
Dim value As Boolean
 
instance.FitWindow = value
 
value = instance.FitWindow
public bool FitWindow {get; set;}
public: __property bool get_FitWindow();
public: __property void set_FitWindow( 
   bool value
);
public:
property bool FitWindow {
   bool get();
   void set (    bool value);
}

Property Value

True if the document's window should be resized. 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