Bitmap for WPF
DrawGlyphRun(Single,Single,MeasuringMode,GlyphRun,RenderingParams,Int32) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > BitmapRenderTarget クラス > DrawGlyphRun メソッド : DrawGlyphRun(Single,Single,MeasuringMode,GlyphRun,RenderingParams,Int32) メソッド
The horizontal position of the baseline origin, in DIPs, relative to the upper-left corner of the DIB.
The vertical position of the baseline origin, in DIPs, relative to the upper-left corner of the DIB.
The measuring method for glyphs in the run, used with the other properties to determine the rendering mode.
The structure containing the properties of the glyph run.
The object that controls rendering behavior.
The foreground color of the text.
Draws a run of glyphs to a bitmap target at the specified position.
シンタックス
'宣言
 
Public Overloads Sub DrawGlyphRun( _
   ByVal baselineOriginX As System.Single, _
   ByVal baselineOriginY As System.Single, _
   ByVal measuringMode As MeasuringMode, _
   ByVal glyphRun As GlyphRun, _
   ByVal renderingParams As RenderingParams, _
   ByVal textColor As System.Integer _
) 
public void DrawGlyphRun( 
   System.float baselineOriginX,
   System.float baselineOriginY,
   MeasuringMode measuringMode,
   GlyphRun glyphRun,
   RenderingParams renderingParams,
   System.int textColor
)

パラメータ

baselineOriginX
The horizontal position of the baseline origin, in DIPs, relative to the upper-left corner of the DIB.
baselineOriginY
The vertical position of the baseline origin, in DIPs, relative to the upper-left corner of the DIB.
measuringMode
The measuring method for glyphs in the run, used with the other properties to determine the rendering mode.
glyphRun
The structure containing the properties of the glyph run.
renderingParams
The object that controls rendering behavior.
textColor
The foreground color of the text.

戻り値の型

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
参照

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