Bitmap for WPF
DrawTextLayout(Point2F,TextLayout,Brush) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct2D 名前空間 > RenderTarget クラス > DrawTextLayout メソッド : DrawTextLayout(Point2F,TextLayout,Brush) メソッド
The point, described in device-independent pixels, at which the upper-left corner of the text described by textLayout is drawn.
The formatted text to draw. Any drawing effects that do not inherit from C1.Win.DX.Direct2D.Resourceare ignored. If there are drawing effects that inherit from ID2D1Resource that are not brushes, this method fails and the render target is put in an error state.
The brush used to paint any text in textLayout that does not already have a brush associated with it as a drawing effect (specified by the C1.Win.DX.DirectWrite.TextLayout.SetDrawingEffect(C1.Win.DX.ComObject,C1.Win.DX.DirectWrite.TextRange)method).
Draws the formatted text described by the specified C1.Win.DX.DirectWrite.TextLayoutobject.
シンタックス
'宣言
 
Public Overloads Sub DrawTextLayout( _
   ByVal origin As Point2F, _
   ByVal textLayout As TextLayout, _
   ByVal defaultForegroundBrush As Brush _
) 
public void DrawTextLayout( 
   Point2F origin,
   TextLayout textLayout,
   Brush defaultForegroundBrush
)

パラメータ

origin
The point, described in device-independent pixels, at which the upper-left corner of the text described by textLayout is drawn.
textLayout
The formatted text to draw. Any drawing effects that do not inherit from C1.Win.DX.Direct2D.Resourceare ignored. If there are drawing effects that inherit from ID2D1Resource that are not brushes, this method fails and the render target is put in an error state.
defaultForegroundBrush
The brush used to paint any text in textLayout that does not already have a brush associated with it as a drawing effect (specified by the C1.Win.DX.DirectWrite.TextLayout.SetDrawingEffect(C1.Win.DX.ComObject,C1.Win.DX.DirectWrite.TextRange)method).
参照

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