Поделиться через


IVsWindowFrame3.CreateThumbnail Method

Creates a new thumbnail with the best fit possible within the bounds of the provided width and height.

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

Syntax

'Declaration
Function CreateThumbnail ( _
    width As Integer, _
    height As Integer, _
    <OutAttribute> ByRef thumbnail As IntPtr _
) As Integer
int CreateThumbnail(
    int width,
    int height,
    out IntPtr thumbnail
)
int CreateThumbnail(
    int width, 
    int height, 
    [OutAttribute] IntPtr% thumbnail
)
abstract CreateThumbnail : 
        width:int * 
        height:int * 
        thumbnail:IntPtr byref -> int 
function CreateThumbnail(
    width : int, 
    height : int, 
    thumbnail : IntPtr
) : int

Parameters

  • thumbnail
    Type: System.IntPtr%
    [out] An HBITMAP for the thumbnail.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsWindowFrame3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace