Creates a new paragraph and appends it to the end of the current arrangement.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax
Parameters
- srcText
- Type: System Int32
An System::Array of System::Int32. May not be NULL. Each element in this array is the key value of a character in the text that makes up the single line of the new paragraph to be appended to the arrangement.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when the pattern object is modified. |
| CogOCVMaxPattern ParagraphAdded | Fires when a paragraph is added to the pattern object. |
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | If this CogOCVMaxPattern object has already been disposed. |
| ArgumentNullException | If srcText argument is NULL. |
Remarks
This new paragraph will have a single line composed of characters whose key values are supplied by the srcText array of integers. An empty input array of integers is interpreted as a blank line.
See Also