FormFix v6.0 for .NET - Updated
TestReadFormImageEvent Method



Accusoft.FormFixSdk Namespace > FormModel Class : TestReadFormImageEvent Method
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.
This method is deprecated. Tests a ReadFormImage event.
Syntax
'Declaration
 
<ObsoleteAttribute("This method is deprecated. It is not required for testing a ReadFormImage event handler.")>
Public Function TestReadFormImageEvent( _
   ByVal type As String _
) As FormImage
'Usage
 
Dim instance As FormModel
Dim type As String
Dim value As FormImage
 
value = instance.TestReadFormImageEvent(type)
[Obsolete("This method is deprecated. It is not required for testing a ReadFormImage event handler.")]
public FormImage TestReadFormImageEvent( 
   string type
)
[Obsolete("This method is deprecated. It is not required for testing a ReadFormImage event handler.")]
public:
FormImage^ TestReadFormImageEvent( 
   String^ type
) 

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.
Remarks

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.

See Also

Reference

FormModel Class
FormModel Members

Is this page helpful?
Yes No
Thanks for your feedback.