[]
        
(Showing Draft Content)

C1.Util.DX.DirectWrite.Factory.CreateTextLayout

CreateTextLayout Method

CreateTextLayout(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 TextLayout CreateTextLayout(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
TextLayout