Bitmap for WPF
SetInlineObject メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > TextLayout クラス : SetInlineObject メソッド
An application-defined inline object.
Text range to which this change applies.
Sets the inline object.
シンタックス
'宣言
 
Public Sub SetInlineObject( _
   ByVal inlineObject As InlineObject, _
   ByVal textRange As TextRange _
) 
public void SetInlineObject( 
   InlineObject inlineObject,
   TextRange textRange
)

パラメータ

inlineObject
An application-defined inline object.
textRange
Text range to which this change applies.

戻り値の型

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
解説
The application may call this function to specify the set of properties describing an application-defined inline object for specific range. This inline object applies to the specified range and will be passed back to the application by way of the DrawInlineObject callback when the range is drawn. Any text in that range will be suppressed.
参照

TextLayout クラス
TextLayout メンバ