Draws a run of glyphs to a bitmap target at the specified position.
'Declaration
Public Overloads Sub DrawGlyphRun( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As MeasuringMode, _
ByVal As GlyphRun, _
ByVal As RenderingParams, _
ByVal As System.Integer _
)
public void DrawGlyphRun(
System.float ,
System.float ,
MeasuringMode ,
GlyphRun ,
RenderingParams ,
System.int
)
Parameters
- 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.
Return Value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.