IVsWebPreview::Resize Method (Int32, Int32)

 

Resize the preview window.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int Resize(
	int cx,
	int cy
)

Parameters

cx
Type: System::Int32

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

cy
Type: System::Int32

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

Return Value

Type: System::Int32

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

From vsbrowse.idl:

HRESULT IVsWebPreview::Resize(
   [in]int cx, [in]int cy
);
Return to top
Show: