'Declaration Function DrawStrikethrough( _ ByVal clientDrawingContext As Object, _ ByVal baselineOriginX As Single, _ ByVal baselineOriginY As Single, _ ByVal orientationAngle As GlyphOrientationAngle, _ ByRef strikethrough As Strikethrough, _ ByVal clientDrawingEffectPtr As IntPtr _ ) As HResult
HResult DrawStrikethrough( object clientDrawingContext, float baselineOriginX, float baselineOriginY, GlyphOrientationAngle orientationAngle, ref Strikethrough strikethrough, IntPtr clientDrawingEffectPtr )
Parameters
- clientDrawingContext
- The application-defined drawing context passed to IDWriteTextLayout::Draw.
- baselineOriginX
- The pixel location (X-coordinate) at the baseline origin of the run where strikethrough applies.
- baselineOriginY
- The pixel location (Y-coordinate) at the baseline origin of the run where strikethrough applies.
- orientationAngle
- Orientation of the strikethrough.
- strikethrough
- Pointer to a structure containing strikethrough logical information.
- clientDrawingEffectPtr
- Application-defined effect to apply to the strikethrough. Usually this argument represents effects such as the foreground brush filling the interior of a line.
Return Value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.