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 Overrides Function GetCaretCoords( _
ByVal As System.Integer, _
ByVal As System.Boolean _
) As C1CaretCoords
'使用法
Dim instance As C1ExportTextLayout
Dim textIndex As System.Integer
Dim isTrailing As System.Boolean
Dim value As C1CaretCoords
value = instance.GetCaretCoords(textIndex, isTrailing)
public override C1CaretCoords GetCaretCoords(
System.int ,
System.bool
)
パラメータ
- textIndex
- The text position used to get the pixel location.
- isTrailing
参照