ReadCustomStringData Method

NI Vision for Visual Basic

ReadCustomStringData Method

Syntax

CWIMAQVision.ReadCustomStringData Image, Key, Data

Return Type

Long

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

Purpose

Reads a string from a keyname in an image.

Remarks

You can use this method with all image types.

Parameters

Image As CWIMAQImage

The image containing the string data to read.

Key As String

The keyname from which to read the data.

Data As String

The string stored with the keyname in the image.