expression.EndPosition As ScreenPoint object
where expression is a variable that represents a HostField Object
expression.EndPosition As ScreenPoint object
Dim host As HostField
Dim point AsScreenPoint
'Get the screen position (row , column)
point = host.EndPosition
'Get the row location.
Dim row As Integer = point.Row
'Get the column location.
Dim column As integer column = point.Column