FlattenImage Method

NI Vision for Visual Basic

FlattenImage Method

Syntax

CWIMAQVision.FlattenImage SourceImage, Options, Data

Return Type

Long

On success, this method returns 0. On failure, this method returns a negative number.

Purpose

Flattens an image and stores its data.

Remarks

Use this method with all image types.

Parameters

SourceImage As CWIMAQImage

The image to flatten.

Options As CWIMAQFlattenOptions

The options to use when flattening the image.

Data As Variant

[Output] On return, the flattened representation of the image.

See Also

UnflattenImage