Click or drag to resize

IMcImagePutLine Method

Change the pixel values of a line of the image.

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Function PutLine ( 
	vLine As Object,
	y As Integer,
	Optional Frame As Integer = -2
) As Integer

Parameters

vLine
Type: SystemObject
A VARIANT containing a SAFEARRAY containing the new pixel values. The number of values should be equal to the with of the image times the number of channels (width for gray scale, 3*width for color images). For color images, red, green, and blue values must be interlaced.
y
Type: SystemInt32
The 0-based line number.
Frame (Optional)
Type: SystemInt32

Return Value

Type: Int32
The number of values set. Should be image.width*image.NumberOfChannels.
Remarks
See CreateRegionAccess for a more controlled way to set pixel values. In particular when region masking is needed.
See Also