ImageToClipboard Method

NI Vision for Visual Basic

ImageToClipboard Method

Syntax

CWIMAQVision.ImageToClipboard SourceImage [, ColorTable]

Return Type

Long

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

Purpose

Obsolete—Use WriteImageToClipboard instead. Copies an image onto the clipboard.

Remarks

Use this method with U8 and RGB32 images.

Parameters

SourceImage As CWIMAQImage

The image to copy to the clipboard.

ColorTable As Variant

[Optional] Optional color table to include in the clipboard image. This parameter is a 256-element array of integer RGB color values.

See Also

WriteImageToClipboard