OnImageChanged Method

Summary

Raises the ImageChanged event.

Syntax

C#
C++/CLI
C++
protected virtual void OnImageChanged( 
   EventArgs e 
) 
protected: 
virtual void OnImageChanged(  
   EventArgs^ e 
)  
protected:  
   virtual void OnImageChanged( 
      EventArgs^ e 
   ) 

Parameters

e
An EventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate. The OnImageChanged method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Notes to Inheritors: When overriding OnImageChanged in a derived class, be sure to call the base class's OnImageChanged method so that registered delegates receive the event. Do not confuse this with Leadtools.RasterImage.OnChanged(Leadtools.RasterImageChangedEventArgs).

Requirements

Target Platforms

See Also

Reference

RasterImageViewer Class

RasterImageViewer Members

Help Version 22.0.2023.2.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.