Creates a new paragraph and inserts it in the arrangement at the position specified by the paragraph iterator.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 69.0.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.
- pNext
- Type: Cognex.VisionPro.OCVMax CogOCVMaxParagraphIterator
A CogOCVMaxParagraphIterator which specifies where in the current arrangement the new paragraph should be inserted. May not be NULL.
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 |
|---|---|
| ArgumentException | If the supplied paragraph iterator does not reference this CogOCVMaxPattern object. |
| ObjectDisposedException | If this CogOCVMaxPattern object has already been disposed. |
| ArgumentNullException | If pNext argument is NULL. |
| InvalidOperationException | If the paragraph iterator does not specify a valid position. |
Remarks
This new paragraph has a single line composed of characters whose key values are supplied by the input array of integers. An empty input array of integers is interpreted as a blank line.
See Also