Document Library for WinForms
GetWordDocumentRange メソッド (C1DocumentSource)

C1.Win.Document.6 アセンブリ > C1.Win.Document 名前空間 > C1DocumentSource クラス : GetWordDocumentRange メソッド
A C1DocumentTextPosition object specifying the text position.
The C1.Win.Document.Util.IC1TextMeasurementContext to use while building C1DocumentRange.
Creates a C1DocumentRange object that defines a word containing a specified position in the document.
シンタックス
'宣言
 
Public Function GetWordDocumentRange( _
   ByVal position As C1DocumentTextPosition, _
   ByVal textMeasurementContext As IC1TextMeasurementContext _
) As C1DocumentRange
public C1DocumentRange GetWordDocumentRange( 
   C1DocumentTextPosition position,
   IC1TextMeasurementContext textMeasurementContext
)

パラメータ

position
A C1DocumentTextPosition object specifying the text position.
textMeasurementContext
The C1.Win.Document.Util.IC1TextMeasurementContext to use while building C1DocumentRange.

戻り値の型

A C1DocumentRange that defines the word that contains or is near the specified position.
参照

C1DocumentSource クラス
C1DocumentSource メンバ