CogOCRMaxFont OnDeserialization Method Cognex VisionPro 9.24
Called to force the Font to complete its deserialization process.

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

public virtual void OnDeserialization(
	Object sender
)

Parameters

sender
Type: System Object
The sender.

Implements

IDeserializationCallback OnDeserialization(Object)
Exceptions

ExceptionCondition
ArgumentNullException Thrown if sender is null.
Remarks

This sets the Font property of the contained CogOCRMaxChars which lets the CogOCRMaxChars know they are a member of a Font. CogOCRMaxChars do not serialize their Font property. Otherwise the entire Font would be serialized every time user tried to serialize a single CogOCRMaxChar.

See Also