Unicode Controls & Classes for VB6 - Version 4

clsCommonWrapper.CreateThumbnail Function

Creates a thumbnail image of the desired size from the given picture; returns a StdPicture object

Syntax
Public Function CreateThumbnail (ByRef Pic As StdPicture, _
ByVal maxWidth As Long, _
ByVal MaxHeight As Long, _
ByVal bQualityResize As Boolean, _
ByVal bCreateIcon As Boolean) As StdPicture
Parameters
Parameter Description
ByRef Pic As StdPicture The source picture
ByVal maxWidth As Long The maximum width
ByVal MaxHeight As Long The maximum height
ByVal bQualityResize As Boolean Pass True for quality resize, False otherwise
ByVal bCreateIcon As Boolean Pass True for creating a StdPicture of type Icon, False to create a StdPicture of type bitmap
Remarks