PDFView4NET WinForms Edition
NewWindow Property




O2S.Components.PDFView4NET.Actions Namespace > PDFLaunchAction Class : NewWindow Property
Gets or sets whether the remote document opens in current window or in a new window.
Syntax
'Declaration
 
Public Property NewWindow As Boolean
'Usage
 
Dim instance As PDFLaunchAction
Dim value As Boolean
 
instance.NewWindow = value
 
value = instance.NewWindow
public bool NewWindow {get; set;}
public: __property bool get_NewWindow();
public: __property void set_NewWindow( 
   bool value
);
public:
property bool NewWindow {
   bool get();
   void set (    bool value);
}

Property Value

A bool value specifying whether the remote document opens in current window or in a new window. If the remote document opens in the current window, the current pdf file is replaced with the remote document.
Remarks
If the file is not a pdf document, this property is ignored.
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

PDFLaunchAction Class
PDFLaunchAction Members