Click or drag to resize

ImageOperatorsToBuffer Method

returns the image as an array of bytes.

Namespace:  MediaCy.IQL.Operators
Assembly:  MediaCy.IQL.Operators (in MediaCy.IQL.Operators.dll) Version: 3.1.0.0
Syntax
VB
<ExtensionAttribute>
Public Shared Function ToBuffer ( 
	image As McImage,
	Optional frame As Integer = -2,
	Optional overlays As Boolean = true,
	Optional maxWidth As Integer = 2048,
	Optional maxHeight As Integer = 2048
) As Byte()

Parameters

image
Type: MediaCy.IQL.EngineMcImage
The McImage object to be converted.
frame (Optional)
Type: SystemInt32
overlays (Optional)
Type: SystemBoolean
maxWidth (Optional)
Type: SystemInt32
maxHeight (Optional)
Type: SystemInt32

Return Value

Type: Byte
null or the byte array.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type McImage. 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).
See Also