[]
        
(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)
Public Function CreateTextLayout(text As String, stringLength As Integer, textFormat As TextFormat, maxWidth As Single, maxHeight As Single) As TextLayout
Parameters
Type Name Description
string text
int stringLength
TextFormat textFormat
float maxWidth
float maxHeight
Returns
Type Description
TextLayout