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: 69.0.0.0
Syntax
Parameters
- srcText
- Type: System String
A single string corresponding to the single line in the new paragraph. May not be NULL. This assumes that the character keys in the associated font correspond to Unicode code point values.
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
The new paragraph will have a single line, as supplied by srcText. An empty string (length zero) is interpreted as a blank line.
See Also