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 As System.String, _
ByVal As System.Integer, _
ByVal As TextFormat, _
ByVal As RectF, _
ByVal As Brush, _
Optional ByVal As DrawTextOptions, _
Optional ByVal As MeasuringMode _
)
public void DrawText(
System.string ,
System.int ,
TextFormat ,
RectF ,
Brush ,
DrawTextOptions ,
MeasuringMode
)
Parameters
- text
- stringLength
- textFormat
- layoutRect
- defaultForegroundBrush
- options
- measuringMode
See Also