EndDraw Method

Summary

Ends drawing operations on the surface and returns true to indicate the success of the operations.

Syntax
C#
VB
C++
public void EndDraw() 
  
Public Sub EndDraw()  
public: 
void EndDraw();  

Remarks

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.

Requirements

Target Platforms

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

Leadtools.Windows.D2DRendering Assembly