Bitmap for WPF
DrawText(String,Int32,TextFormat,RectF,Brush,DrawTextOptions,MeasuringMode) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct2D 名前空間 > RenderTarget クラス > DrawText メソッド : DrawText(String,Int32,TextFormat,RectF,Brush,DrawTextOptions,MeasuringMode) メソッド
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)
シンタックス
'宣言
 
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
)

パラメータ

text
stringLength
textFormat
layoutRect
defaultForegroundBrush
options
measuringMode
参照

RenderTarget クラス
RenderTarget メンバ
オーバーロード一覧