IVsWindowFrame3::CreateThumbnail Method (Int32, Int32, IntPtr)

 

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)

int CreateThumbnail(
	int width,
	int height,
	[OutAttribute] IntPtr% thumbnail
)

Parameters

width
Type: System::Int32

[in] The width.

height
Type: System::Int32

[in] The height.

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.

Return to top
Show: