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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly