![]() |
Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.10.29
|
Leadtools.Windows.D2DRendering Namespace > D2DSurface Class : EndDraw Method |
public void EndDraw()
'Declaration Public Sub EndDraw()
'Usage Dim instance As D2DSurface instance.EndDraw()
public: void EndDraw();
Drawing operations can only be issued between a BeginDraw and EndDraw call.
The BeginDraw method must be called before drawing operations can be called, though state-setting and state-retrieval operations can be performed even outside of BeginDraw/EndDraw.
The EndDraw method always succeeds: it should not be called twice even if a previous EndDraw resulted in a failing result.
The EndDraw method invalidates the surface with the specified rectangle passed in the BeginDraw Method and causes the surface to be redrawn.