DrawText(D2DTextLayout,Brush,Rect) Method

Summary
Draws the formatted text described by the specified D2DTextLayout object.
Syntax
C#
VB
C++
public void DrawText( 
   D2DTextLayout textLayout, 
   Brush brush, 
   Rect rect 
) 
  
Public Overloads Sub DrawText( _ 
   ByVal textLayout As D2DTextLayout, _ 
   ByVal brush As Brush, _ 
   ByVal rect As Rect _ 
)  
public: 
void DrawText(  
   D2DTextLayout^ textLayout, 
   Brush^ brush, 
   Rect rect 
)  

Parameters

textLayout
The formatted text to draw.

brush
Brush that determines the color and texture of the drawn text.

rect
The size and position of the area in which the text is drawn.

Remarks

This method is more efficient, When drawing the same text repeatedly.

Requirements

Target Platforms

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

Leadtools.Windows.D2DRendering Assembly