Click or drag to resize

McImageUtilsCreateThumbnailImage Method

Create Drawing.Image from McImage preserving current LUT

Namespace:  MediaCy.Controls.Common.Vb
Assembly:  MediaCy.Controls.Common.Vb (in MediaCy.Controls.Common.Vb.dll) Version: 3.1.0.0
Syntax
VB
Public Shared Function CreateThumbnailImage ( 
	Image As McImage,
	Optional iFrame As Long = -1,
	Optional IconSize As Long = 26,
	Optional bFillCanvas As Boolean = true
) As Image

Parameters

Image
Type: MediaCy.IQL.EngineMcImage
iFrame (Optional)
Type: SystemInt64
IconSize (Optional)
Type: SystemInt64
bFillCanvas (Optional)
Type: SystemBoolean
When True the thumbnail is created as a square of size IconSize with the image in the middle on white background, when the option is False only thumbnail of the image is returned with the maximum size of IconSize

Return Value

Type: Image
Remarks