EAPUtilWindowOpenFeatures Method (WindowOpenOptions, Int32, Int32) |
Generates the "features" string for a javascript
window.open() call.
The resulting string is enquoted and ready for use.
Note that use of the
WindowOpenFeatures(IAppContext, WindowOpenOptions, Int32, Int32)
overload is preferred because it 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(
WindowOpenOptions options,
int height,
int width
)
Public Shared Function WindowOpenFeatures (
options As WindowOpenOptions,
height As Integer,
width As Integer
) As String
Parameters
- 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