Click or drag to resize

IMcCaptDevice2Snap Method

Single snap and return an image synchronously.

Namespace:  MediaCy.IQL.Capture
Assembly:  MediaCy.IQL.Capture (in MediaCy.IQL.Capture.dll) Version: 10.0.6912.0
Syntax
VB
Function Snap ( 
	Optional Flags As mcImageCreateFlags = mcImageCreateFlags.mcicfDefault,
	<OptionalAttribute> vImage As Object
) As McImage

Parameters

Flags (Optional)
Type: MediaCy.IQL.EnginemcImageCreateFlags
Image creation flags if Snap is creating image
vImage (Optional)
Type: SystemObject
McImage passed in to snap to if Snap is not creating image

Return Value

Type: McImage

Implements

IMcCaptDeviceSnap(mcImageCreateFlags, Object)
Remarks
Call this method to perform a single snap that returns when the snap operation is complete. This method fires an event that the UI uses to implement the snap operation using the async calls. This method is the one that would be recorded for a macro script.
See Also