foreCanvasSizeChanged Event (ImageViewer)

Summary

Occurs when the size of the foreground canvas changes.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewer.prototype,'foreCanvasSizeChanged',  
	get: function(), 
	set: function(value) 
) 
function foreCanvasSizeChanged.add(function(sender, e)); 
function foreCanvasSizeChanged.remove(function(sender, e)); 
TypeScript Syntax
foreCanvasSizeChanged: void;

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize