Merge Method

NI Vision for Visual Basic

Merge Method

Syntax

CWIMAQOverlay.Merge [ColorPalette]

Purpose

Makes this overlay part of the image to which it is attached, and removes the CWIMAQOverlay object.

Remarks

The resulting image is 32-bit RGB.

Parameters

ColorPalette As Variant

[Optional] An optional color table to associate with 8-bit images. If you want to provide a color table, the table must have 256 elements. Do not provide this input to write a grayscale palette to the image.