The maximum time (msec) allowed to compile the font. If compilation has not finished by the end of the timeout period, it will stop soon thereafter and return E_Cog_TimeoutExpired. This value only applies if TimeoutEnabled is true.
Namespace: Cognex.VisionPro.OCAssembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 73.0.0.0
Syntax
Property Value
Type: DoubleEvents
| Event Type | Reason |
|---|---|
| CogOCFont Changed | Fires when this property changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The timeout period is < 0. |
Remarks
The maximum amount of time, in milliseconds, allowed to compile the font. If the compilation is not finished within the timeout period, it will stop soon thereafter and Compile returns E_Cog_TimeoutExpired.
Note: The actual timeout period can exceed the requested maximum by up to 0.02 seconds on a 200 MHz Pentium I processor. Typical latencies are much lower with faster CPUs.
This value applies only when TimeoutEnabled is True.
Default Value: 30000 milliseconds
See Also