←Select platform

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

Leadtools.Windows.D2DRendering Assembly