beginRender Method

Summary

Stops the viewer from rendering the content if any change is applied. This is useful to increase the control's speed efficiency.

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

BeginRender and EndRender work with a similar way to BeginUpdate and EndUpdate except they will only stop the rendering of the content. Updating the transformation will continue in the usual manner.

When the final EndRender is called, the viewer will call Invalidate to render the new content.

To determine if the control will currently update the transform and invalidate, use CanRender.

Requirements

Target Platforms

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

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