Parameters
- type
- The type of the FormImage to return. This method will place the type into the ReadFormImageEventArgs object that it sends to the ReadFormImage event handler.
Return Value
The FormImage object that the event handler returned.
This method is deprecated.
This method raises a ReadFormImage event, passes it the given type, and returns the image that the event handler returns. You can use this method as a simple way to test your ReadFormImage event handler.
Note: Normally this object will call the FormImage.Dispose method for the FormImage object. However, in this case, the object is returning the FormImage object to you, so you must call the FormImage.Dispose method when you are finished with the object.