IThumbnailExtractor.ExtractThumbnail Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaração
Sub ExtractThumbnail ( _
pstg As IStorage, _
ulLength As UInteger, _
ulHeight As UInteger, _
<OutAttribute> ByRef pulOutputLength As UInteger, _
<OutAttribute> ByRef pulOutputHeight As UInteger, _
<OutAttribute> ByRef phOutputBitmap As IntPtr _
)
void ExtractThumbnail(
IStorage pstg,
uint ulLength,
uint ulHeight,
out uint pulOutputLength,
out uint pulOutputHeight,
out IntPtr phOutputBitmap
)
Parameters
- pstg
Type: Microsoft.VisualStudio.OLE.Interop.IStorage
- ulLength
Type: System.UInt32
- ulHeight
Type: System.UInt32
- pulOutputLength
Type: System.UInt32%
- pulOutputHeight
Type: System.UInt32%
- phOutputBitmap
Type: System.IntPtr%
.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.