foreCanvasSizeChanged Event

Summary

Occurs when the size of the foreground canvas changes.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageViewer.prototype,'foreCanvasSizeChanged',  
	get: function(), 
	set: function(value) 
) 
foreCanvasSizeChanged: LeadEvent; 
Remarks

When the size of this viewer changes either automatically or as a result of calling OnSizeChanged, the foreground canvas stored in ForeCanvas will be resized to fill the client area of the control and ForeCanvasSizeChanged will occur. This is useful when a user canvas is placed on top of ForeCanvas, such as the annotation canvas.

Event Data
ParameterTypeDescription
sendervarThe source of the event.
Requirements

Target Platforms

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

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