EndDraw Method

Summary
Ends drawing operations on the surface and returns true to indicate the success of the operations.
Syntax
C#
C++/CLI
public void 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 23.0.2024.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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