Click or drag to resize

EAPUtil.WindowOpenFeatures Method (IAppContext, WindowOpenOptions, Int32, Int32)

Generates the "features" string for a javascript window.open() call. The resulting string is enquoted and ready for use. Note that this overload taking the cxt parameter enforces certain application-wide features, in particular ForcePopupScrollbars which forces scrollbars on popup windows.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string WindowOpenFeatures(
	IAppContext cxt,
	WindowOpenOptions options,
	int height,
	int width
)

Parameters

cxt
Type: NetQuarry.IAppContext
The application context.
options
Type: NetQuarry.WindowOpenOptions
Option flags.
height
Type: System.Int32
The desired height, in pixels.
width
Type: System.Int32
The desired height, in pixels.

Return Value

Type: String
The features string appropriate for passing to window.open().
See Also