Bitmap for UWP
GetDrawingEffect(Int32,TextRange) メソッド

C1.UWP.DX アセンブリ > C1.Util.DX.DirectWrite 名前空間 > TextLayout クラス > GetDrawingEffect メソッド : GetDrawingEffect(Int32,TextRange) メソッド
The position of the text whose drawing effect is to be retrieved.
Contains the range of text that has the same formatting as the text at the position specified by currentPosition. This means the run has the exact formatting as the position specified, including but not limited to the drawing effect.
Gets the application-defined drawing effect at the specified text position.
シンタックス
'宣言
 
Public Overloads Function GetDrawingEffect( _
   ByVal currentPosition As System.Integer, _
   ByRef textRange As TextRange _
) As System.IntPtr
public System.IntPtr GetDrawingEffect( 
   System.int currentPosition,
   out TextRange textRange
)

パラメータ

currentPosition
The position of the text whose drawing effect is to be retrieved.
textRange
Contains the range of text that has the same formatting as the text at the position specified by currentPosition. This means the run has the exact formatting as the position specified, including but not limited to the drawing effect.

戻り値の型

a reference to the current application-defined drawing effect. Usually this effect is a foreground brush that is used in glyph drawing.
参照

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