Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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: 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.
Remarks
COM Signature
From vsbrowse.idl:
HRESULT IVsWebPreview::Resize(
[in]int cx, [in]int cy
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.