←Select platform

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly