CogOCRMaxFont OnDeserialization Method Cognex VisionPro 9.21 SR1
Called to force the Font to complete it's Deserialization process.

Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 85.1.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 set's the Font property of the contained CogOCRMaxChars which lets the CogOCRMaxChars they are a member of a Font. CogOCRMaxChars do not Serialzize their Font property. Otherwise the entire Font would be serialized every time user tried to serialize a single CogOCRMaxChar.

See Also