beginTransform Method (ImageViewer)

Summary

Stops the viewer from updating the transformations matrices and updating the view layout. This is useful to increase the control's speed efficiency.

Syntax

JavaScript Syntax
ImageViewer.prototype.beginTransform = function()
TypeScript Syntax
beginTransform(): void;

Remarks

BeginTransform and EndTransform work with a similar way to BeginUpdate and EndUpdate except they will only stop the updating of the transformation matrices and view layout. Rendering the content will continue in the usual manner.

When the final EndTransform is called, the viewer will call UpdateTransform to re-calculate the transformation matrices and update the view layout.

To determine if the control will currently update the transformation matrices and update the view layout, use CanTransform.

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