• HOME
  • PRODUCTS
  • DEMOS
  • BUY
  • BLOG
  • FORUM
  • DOCUMENTATION
  • ABOUT
  • FREE EVALUATION
Search Results for

    Show / Hide Table of Contents

    ScreenToText Method

    ScreenToText(Point)

    Converts given screen coordinates to text coordinates (index of line and character).

    Declaration
    public virtual Point ScreenToText(Point position)
    Parameters
    Type Name Description
    Point position

    The screen coordinate Point to convert.

    Returns
    Type Description
    Point

    The Point representing text coordinate.

    ScreenToText(Double, Double, ref Boolean)

    Converts given screen coordinates to text coordinates (index of line and character).

    Declaration
    public virtual Point ScreenToText(double x, double y, ref bool lineEnd)
    Parameters
    Type Name Description
    Double x

    Horizontal screen coordinate to convert.

    Double y

    Vertical screen coordinate to convert.

    Boolean lineEnd

    Receives boolean value indicating if the caret is at the line end of the wrapped line.

    Returns
    Type Description
    Point

    The Point representing text coordinate.

    ScreenToText(Double, Double)

    Converts given screen coordinates to text coordinates (index of line and character).

    Declaration
    public virtual Point ScreenToText(double x, double y)
    Parameters
    Type Name Description
    Double x

    Horizontal screen coordinate to convert.

    Double y

    Vertical screen coordinate to convert.

    Returns
    Type Description
    Point

    The Point representing text coordinate.

    In This Article
    Back to top Copyright AlterNET Software Download PDF