This class is needed to properly deserialize the System.Drawing.Font class with
the SoapFormatter. Font deserialization with the SoapFormatter is broken in the
.NET framework as of version 1.1.
Inheritance Hierarchy
Cognex.VisionPro.Implementation CogFontSerializationSurrogate
Namespace: Cognex.VisionPro.Implementation
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 73.0.0.0 (73.0.0.0)
Syntax
The CogFontSerializationSurrogate type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogFontSerializationSurrogate |
Creates a new instance of the CogFontSerializationSurrogate class.
|
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetObjectData |
Serializes an object.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetObjectData |
Populates the object using the information in the SerializationInfo.
| |
| ToString | (Inherited from Object.) |
See Also