Use this function to get the pixel location relative to the top-left of the layout box given the text position and the logical side of the position.
シンタックス
'宣言
Public MustOverride Function GetCaretCoords( _
ByVal As System.Integer, _
ByVal As System.Boolean _
) As C1CaretCoords
'使用法
Dim instance As C1TextLayout
Dim textIndex As System.Integer
Dim isTraling As System.Boolean
Dim value As C1CaretCoords
value = instance.GetCaretCoords(textIndex, isTraling)
public abstract C1CaretCoords GetCaretCoords(
System.int ,
System.bool
)
パラメータ
- textIndex
- The text position used to get the pixel location.
- isTraling
- Indicates whether the location should points to the position after char specified by the .
参照