Prevents the control from drawing until the EndUpdate method is called.
public virtual void BeginUpdate()
public:
virtual void BeginUpdate();
public:
virtual void BeginUpdate()
When you want to disable repainting of the RasterPictureBox, call BeginUpdate. When you are ready to resume painting call EndUpdate.
This sample zooms out on the image, keeping it centered. The resulting transform is displayed in the console.
using Leadtools.WinForms;
using Leadtools;
using Leadtools.Codecs;
using Leadtools.Drawing;
public void RasterPictureBox_BeginUpdate(RasterPictureBox viewer)
{
viewer.BeginUpdate(); // suspend painting of the image
viewer.SizeMode = RasterPictureBoxSizeMode.CenterImage;
viewer.UseDpi = false;
viewer.EndUpdate(); // start painting of the image
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document