DrawText(string,D2DFont,Brush,Rect) Method

Summary
Draws the specified text using the format information provided by an D2DFont object.
Syntax
C#
VB
C++
public void DrawText( 
   string text, 
   D2DFont font, 
   Brush brush, 
   Rect rect 
) 
  
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 21.0.2021.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly