DrawText(string,D2DFont,Brush,Rect) Method

Summary
Draws the specified text using the format information provided by an D2DFont object.
Syntax
C#
C++
public void DrawText( 
   string text, 
   D2DFont font, 
   Brush brush, 
   Rect rect 
) 
vb[VB Syntax] 
  
Public Overloads Sub DrawText( _ 
   ByVal _text_ As String, _ 
   ByVal _font_ As D2DFont, _ 
   ByVal _brush_ As Brush, _ 
   ByVal _rect_ As Rect _ 
) 
public: 
void DrawText(  
   String^ text, 
   D2DFont^ font, 
   Brush^ brush, 
   Rect rect 
)  

Parameters

text
String to draw.

font
D2DFont that defines the text format of the string.

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 draws the specified text using the format information provided by an D2DFont.

Requirements

Target Platforms

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

Leadtools.Windows.D2DRendering Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.