DrawText(string,D2DFont,Brush,Rect) Method

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

Leadtools.Windows.D2DRendering Assembly

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