Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.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 System.String, _
       ByVal stringLength As System.Integer, _
       ByVal textFormat As TextFormat, _
       ByVal layoutRect As RectF, _
       ByVal defaultForegroundBrush As Brush, _
       Optional ByVal options As DrawTextOptions, _
       Optional ByVal measuringMode As MeasuringMode _
    ) 
    public void DrawText( 
       System.string text,
       System.int stringLength,
       TextFormat textFormat,
       RectF layoutRect,
       Brush defaultForegroundBrush,
       DrawTextOptions options,
       MeasuringMode measuringMode
    )

    Parameters

    text
    stringLength
    textFormat
    layoutRect
    defaultForegroundBrush
    options
    measuringMode
    See Also