Sets the customization string for the specified customization type.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 87.0.0.0
Syntax
Parameters
- customization
- Type: System String
A System::String containing the desired customization information.
- type
- Type: Cognex.VisionPro.OCVMax CogOCVMaxCustomizationTypeConstants
A CogOCVMaxCustomizationTypeConstants that specifies the desired type of customization. Options include KeySearch, ImageSearch, and OCVMaxTool.
Return Value
Type: StringThe new customization string for the specified type. If there has been no change, then "No change" is returned.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when the pattern object is modified. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | If the customization string format is not valid. |
| ObjectDisposedException | If this CogOCVMaxPattern object has already been disposed. |
| InvalidOperationException | If an internal error occurs. |
See Also