Partager via


IVsWebBrowserUser.Resize(Int32, Int32) Method

Definition

Resizes the browser frame to the specified x and y dimensions.

public:
 int Resize(int cx, int cy);
public:
 int Resize(int cx, int cy);
int Resize(int cx, int cy);
public int Resize (int cx, int cy);
abstract member Resize : int * int -> int
Public Function Resize (cx As Integer, cy As Integer) As Integer

Parameters

cx
Int32

[in] The x dimension.

cy
Int32

[in] The y dimension.

Returns

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  
);  

Applies to