apply Method

Summary

A method to override whenever the interactive action should be applied (after the action is completed.)

Syntax

TypeScript
JavaScript
InteractiveAction.prototype.apply = function( 
   source , 
   change , 
   userData  
) 
   apply(source: lt.Controls.ImageViewerItem, change: lt.LeadPointD, userData: any): void; 

Parameters

source

A lt.Controls.ImageViewerItem value that references the item to which the action applies.

change

A lt.LeadPointD value that references a custom change in data.

userData

An any value that references optional custom user data.

Remarks

Whenever a Scale Action is applied, the change is the amount scrolled, or pinched that determines how much it is scaled. The source parameter is the item that is scaled. The userData parameter is an optional custom parameter, that may be defined at the discretion of individual developers and development environments.

Requirements

Target Platforms

See Also

InteractiveAction

InteractiveAction Members

Leadtools.Controls.Medical Namespace

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

Leadtools.Controls.Medical Assembly

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