共用方式為


IVsWindowFrame3.CreateThumbnail(Int32, Int32, IntPtr) Method

Definition

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

public:
 int CreateThumbnail(int width, int height, [Runtime::InteropServices::Out] IntPtr % thumbnail);
public int CreateThumbnail (int width, int height, out IntPtr thumbnail);
abstract member CreateThumbnail : int * int * nativeint -> int
Public Function CreateThumbnail (width As Integer, height As Integer, ByRef thumbnail As IntPtr) As Integer

Parameters

width
Int32

[in] The width.

height
Int32

[in] The height.

thumbnail
IntPtr

nativeint

[out] An HBITMAP for the thumbnail.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to