Visual Basic (Declaration) | |
---|---|
Public Overridable Sub BeginUpdate() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void BeginUpdate() |
C++/CLI | |
---|---|
public: virtual void BeginUpdate(); |
This example will load a new image, zooms it back to 100% and set the size mode to Fit.
This method prevents the control from painting until the EndUpdate method is called.
If you want to make changes to this RasterImageViewer that require multiple paints, it is best to maintain performance by surrounding your code with BeginUpdate%M:Leadtools.WinForms.RasterImageViewer.EndUpdate% calls.
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6