ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.Direct2D Namespace / RenderTarget Class / DrawText Method / DrawText(String,Int32,TextFormat,RectF,Brush,DrawTextOptions,MeasuringMode) Method

In This Topic
    DrawText(String,Int32,TextFormat,RectF,Brush,DrawTextOptions,MeasuringMode) Method
    In This Topic
    void ID2D1RenderTarget::DrawText([In, Buffer] const wchar_t* string,[In] unsigned int stringLength,[In] IDWriteTextFormat* textFormat,[In] const D2D_RECT_F* layoutRect,[In] ID2D1Brush* defaultForegroundBrush,[In] D2D1_DRAW_TEXT_OPTIONS options,[In] DWRITE_MEASURING_MODE measuringMode)
    Syntax
    'Declaration
     
    Public Overloads Sub DrawText( _
       ByVal text As String, _
       ByVal stringLength As Integer, _
       ByVal textFormat As TextFormat, _
       ByVal layoutRect As RectF, _
       ByVal defaultForegroundBrush As Brush, _
       Optional ByVal options As DrawTextOptions, _
       Optional ByVal measuringMode As MeasuringMode _
    ) 

    Parameters

    text
    stringLength
    textFormat
    layoutRect
    defaultForegroundBrush
    options
    measuringMode
    See Also