←Select platform

OnProgress Method

Summary

Raises the Progress event.

Syntax

C#
VB
Java
WinRT C#
C++
public void OnProgress( 
   RasterCommandProgressEventArgs e 
) 
void onProgress(leadtools.imageprocessing.RasterCommandProgressEvent event); 
function Leadtools.ImageProcessing.IRasterCommand.OnProgress(  
   e  
) 

Parameters

e
A RasterCommandProgressEventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate.

The OnProgress 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 OnProgress in a derived class, be sure to call the base class OnProgress method so that registered delegates receive the event.

Example

For an example, refer to RasterCommand.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly