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
width
Type: Int32[in] The width.
height
Type: Int32[in] The height.
thumbnail
Type: IntPtr%[out] An HBITMAP for the thumbnail.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.