public GetOffsetAtPoint ( int x, int y, CoordType coordType ) : int | ||
x | int | |
y | int | |
coordType | CoordType | |
리턴 | int |
public int GetOffsetAtPoint(int x, int y, CoordType coordType)
{
return proxy.GetOffsetAtPoint (x, y, coordType);
}
public ITextPatternRange RangeFromPoint(Point screenLocation) { int offset = text.GetOffsetAtPoint((int)screenLocation.X, (int)screenLocation.Y, CoordType.Screen); // TODO: Check this behavior if (offset < 0) { return(null); } return(new TextRangePattern(accessible, offset, offset)); }