[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.Factory.CreateTextLayout1

CreateTextLayout1 Method

CreateTextLayout1(string, int, TextFormat, float, float)

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)

Declaration
public TextLayout1 CreateTextLayout1(string text, int stringLength, TextFormat textFormat, float maxWidth, float maxHeight)
Public Function CreateTextLayout1(text As String, stringLength As Integer, textFormat As TextFormat, maxWidth As Single, maxHeight As Single) As TextLayout1
Parameters
Type Name Description
string text
int stringLength
TextFormat textFormat
float maxWidth
float maxHeight
Returns
Type Description
TextLayout1