EAPUtilWindowOpenFeatures 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
)
Public Shared Function WindowOpenFeatures (
cxt As IAppContext,
options As WindowOpenOptions,
height As Integer,
width As Integer
) As String
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context. - options
- Type: NetQuarryWindowOpenOptions
Option flags. - height
- Type: SystemInt32
The desired height, in pixels. - width
- Type: SystemInt32
The desired height, in pixels.
Return Value
Type:
StringThe features string appropriate for passing to
window.open().
See Also