Partager via


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: Int32

    [in] The x dimension.

  • cy
    Type: Int32

    [in] The y dimension.

Return Value

Type: 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

See Also

Reference

IVsWebBrowserUser Interface

Microsoft.VisualStudio.Shell.Interop Namespace