Compartilhar via


IVsWebPreview.Resize(Int32, Int32) Method

Definition

Resize the preview window.

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] Integer. The new horizontal length of the preview window.

cy
Int32

[in] Integer. The new vertical length of the preview window.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsbrowse.idl:

HRESULT IVsWebPreview::Resize(  
   [in]int cx, [in]int cy  
);  

Applies to