←Select platform

D2DTextLayout Constructor

Summary

Initializes a new D2DTextLayout object.

Syntax

C#
VB
C++
public D2DTextLayout( 
   string text, 
   D2DFont font, 
   Size size 
) 
  
Public Function New( _ 
   ByVal text As String, _ 
   ByVal font As Leadtools.Windows.D2drendering.D2DFont, _ 
   ByVal size As Size _ 
) 
public: 
D2DTextLayout(  
   String^ text, 
   Leadtools.Windows.D2drendering.D2DFont^ font, 
   Size size 
) 

Parameters

text
The text string included in the D2DTextLayout instance.

font
The D2DFont used by the string.

size
A System.Windows.Size structure representing the size of the text layout box.

Remarks

This constructor will create a new instance of D2DTextLayout.

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