CogOCVMaxPattern SetCustomization Method Cognex VisionPro 9.8 SR1
Sets the customization string for the specified customization type.

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

public string SetCustomization(
	string customization,
	CogOCVMaxCustomizationTypeConstants type
)

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: String
The new customization string for the specified type. If there has been no change, then "No change" is returned.
Events

Exceptions

ExceptionCondition
ArgumentExceptionIf the customization string format is not valid.
ObjectDisposedExceptionIf this CogOCVMaxPattern object has already been disposed.
InvalidOperationExceptionIf an internal error occurs.
See Also