ComponentOne Bitmap for WPF
CreateTextLayout Method

C1.WPF.DX.4 Assembly > C1.Util.DX.DirectWrite Namespace > Factory Class : CreateTextLayout Method
HRESULT IDWriteFactory::CreateTextLayout([In, Buffer] const wchar_t* string,[In] unsigned int stringLength,[In] IDWriteTextFormat* textFormat,[In] float maxWidth,[In] float maxHeight,[Out, Fast] IDWriteTextLayout** textLayout)
Syntax
'Declaration
 
Public Function CreateTextLayout( _
   ByVal text As System.String, _
   ByVal stringLength As System.Integer, _
   ByVal textFormat As TextFormat, _
   ByVal maxWidth As System.Single, _
   ByVal maxHeight As System.Single _
) As TextLayout
public TextLayout CreateTextLayout( 
   System.string text,
   System.int stringLength,
   TextFormat textFormat,
   System.float maxWidth,
   System.float maxHeight
)

Parameters

text
stringLength
textFormat
maxWidth
maxHeight
See Also

Reference

Factory Class
Factory Members