'宣言 Public Function GetNearestTextPosition( _ ByVal tmc As IC1TextMeasurementContext, _ ByVal ptPage As Point, _ ByVal xOffs As System.Double, _ ByVal yOffs As System.Double _ ) As C1DocumentTextPosition
'使用法 Dim instance As RenderTextFragment Dim tmc As IC1TextMeasurementContext Dim ptPage As Point Dim xOffs As System.Double Dim yOffs As System.Double Dim value As C1DocumentTextPosition value = instance.GetNearestTextPosition(tmc, ptPage, xOffs, yOffs)
public C1DocumentTextPosition GetNearestTextPosition( IC1TextMeasurementContext tmc, Point ptPage, System.double xOffs, System.double yOffs )
パラメータ
- tmc
- The C1.Document.Util.IC1TextMeasurementContext interface which can be used in text processing.
- ptPage
- The position relative to the top-left corner of the page.
- xOffs
- The horizontal offset of the parent fragment from the left edge of the page.
- yOffs
- The vertical offset of the parent fragment from the top edge of the page.
戻り値の型
The C1DocumentTextPosition object defining position within fragment or null.