[]
        
(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)
Parameters
Type Name Description
string text
int stringLength
TextFormat textFormat
float maxWidth
float maxHeight
Returns
Type Description
TextLayout1