ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.DirectWrite Namespace / Factory Class / CreateTextLayout1 Method

In This Topic
    CreateTextLayout1 Method
    In This Topic
    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 CreateTextLayout1( _
       ByVal text As String, _
       ByVal stringLength As Integer, _
       ByVal textFormat As TextFormat, _
       ByVal maxWidth As Single, _
       ByVal maxHeight As Single _
    ) As TextLayout1
    public TextLayout1 CreateTextLayout1( 
       string text,
       int stringLength,
       TextFormat textFormat,
       float maxWidth,
       float maxHeight
    )

    Parameters

    text
    stringLength
    textFormat
    maxWidth
    maxHeight
    See Also