BeginDraw Method

Summary
Initiates drawing on this surface.
Syntax
C#
VB
C++
public void BeginDraw( 
   Rect rect 
) 
  
Public Sub BeginDraw( _ 
   ByVal rect As Rect _ 
)  
public: 
void BeginDraw(  
   Rect rect 
)  

Parameters

rect
The region of the surface on which drawing will be performed.

Remarks

Drawing operations can only be issued between BeginDraw and EndDraw calls.

Pass an Empty Rectangle to draw on the entire surface.

Example

For an example, refer to D2DSurface.

Requirements

Target Platforms

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

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