Click or drag to resize

ImagesOperatorsFromDotNetBitmap Method

Creates a new McImage from a System.Drawing.Bitmap preserving all supported pixel formats and metadata.

Namespace:  MediaCy.IQL.Operators
Assembly:  MediaCy.IQL.Operators (in MediaCy.IQL.Operators.dll) Version: 3.1.0.0
Syntax
VB
<ExtensionAttribute>
Public Shared Function FromDotNetBitmap ( 
	images As McImages,
	dotnetimg As Bitmap,
	openflags As mcImageCreateFlags
) As McImage

Parameters

images
Type: MediaCy.IQL.EngineMcImages
dotnetimg
Type: System.DrawingBitmap
The .Net BCL Image to be converted.
openflags
Type: MediaCy.IQL.EnginemcImageCreateFlags
Image creation flags

Return Value

Type: McImage
A new McImage or null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type McImages. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks