CogOCVMaxPoseHelper Text Property Cognex VisionPro
Get or set the actual text used to compute the desired pose. Note that this text is represented as an ArrayList of ArrayList(s) of Int32. The outer array list holds one or more entries, each of which corresponds to a line of text within a single paragraph. Each such entry is itself an ArrayList. Every inner ArrayList holds zero or more Int32s. Each Int32 entry is the key value of a character. While a single line may have zero entries (that is, be empty), there must be at least one character in the paragraph. Note that there are several SetText methods that serve the same function as this setter but accept more convenient representations of the desired text (e.g. an array of strings, a single string, or an array of Int32s).

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax

public ArrayList Text { get; set; }

Property Value

Type: ArrayList
This read/write property must be an ArrayList of one or more ArrayList(s) of Int32s. There must be at least one Int32 entry.
Events

Exceptions

ExceptionCondition
ArgumentExceptionIf there is an unspecified structural problem with this argument.
ArgumentNullExceptionIf you attempt to set this to NULL.
ArgumentOutOfRangeExceptionIf the number of lines represented by the input argument is less than one.
See Also