FormFix v6.0 for .NET - Updated
ReadChecksum Event (FormModel)



Accusoft.FormFixSdk Namespace > FormModel Class : ReadChecksum Event
An event for retrieving a checksum for the persistent state of a form.
Syntax
'Declaration
 
Public Event ReadChecksum As ReadChecksumEventHandler
'Usage
 
Dim instance As FormModel
Dim handler As ReadChecksumEventHandler
 
AddHandler instance.ReadChecksum, handler
public event ReadChecksumEventHandler ReadChecksum
public:
event ReadChecksumEventHandler^ ReadChecksum
Event Data

The event handler receives an argument of type ReadChecksumEventArgs containing data related to this event. The following ReadChecksumEventArgs properties provide information specific to this event.

PropertyDescription
The checksum that the event handler is returning back to the issuer of the event.  
Remarks

The FormModel class has numerous optimizations to save processing time. One of those is the ability to save the results of analysis of the form model and reuse that analysis at a later date. The optimization relies on a checksum of the image to recognize when it must re-analyze the form model.

A FormModel object uses this event to retrieve a checksum of the persistent state of a form. That checksum should change whenever the form changes.

Suggestion: When integrating with FormDirector, use the Accusoft.FormDirectorSdk.FormDefinition.GetPartialHashCode method to generate this checksum.

See Also