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.
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: 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.
.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.