IVsWebBrowserUser.Resize Method
Resizes the browser frame to the specified x and y dimensions.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function Resize ( _
cx As Integer, _
cy As Integer _
) As Integer
int Resize(
int cx,
int cy
)
int Resize(
[InAttribute] int cx,
[InAttribute] int cy
)
abstract Resize :
cx:int *
cy:int -> int
function Resize(
cx : int,
cy : int
) : int
Parameters
cx
Type: System.Int32[in] The x dimension.
cy
Type: System.Int32[in] The y dimension.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsbrowse.idl:
[C++]
HRESULT IVsWebBrowserUser::Resize(
[in] int cx,
[in] int cy
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.