←Select platform

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 Leadtools.Windows.D2drendering.D2DFont, _ 
   ByVal brush As Brush, _ 
   ByVal rect As Rect _ 
)  
public: 
void DrawText(  
   String^ text, 
   Leadtools.Windows.D2drendering.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly