Freigeben über


IVsWebPreview.Resize Method

Resize the preview window.

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

  • cy
    Type: Int32

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

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:

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

.NET Framework Security

See Also

Reference

IVsWebPreview Interface

Microsoft.VisualStudio.Shell.Interop Namespace