CogPMAlignPattern PCPString Property Cognex VisionPro 9.24
Customization string (PCP) used to customize this PMAlign pattern. The PCP string can be set by either setting the PCPString property directly or calling the PCPLoadFromFile method. An empty string indicates that no PCP is set for this pattern.

Namespace: Cognex.VisionPro.PMAlign
Assembly: Cognex.VisionPro.PMAlign (in Cognex.VisionPro.PMAlign.dll) Version: 91.0.0.0
Syntax

public string PCPString { get; set; }

Property Value

Type: String
Events

Exceptions

ExceptionCondition
CogPMAlignInvalidPCPException

An invalid PCP string was supplied. If this error occurs, any existing PCP string is lost and the contents of the CogPMAlignPattern are undefined.

Remarks

Customization string (PCP) used to customize this PMAlign pattern. The PCP string can be set by either setting the PCPString property directly or calling the PCPLoadFromFile method. An empty string indicates that no PCP is set for this pattern.

Note: Changing this property causes this CogPMAlignPattern to become untrained.

Default Value: NULL (an empty string)

See Also