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

    Show / Hide Table of Contents

    DisplayToScreen Method

    DisplayToScreen(Int32, Int32)

    Converts given display coordinates, index of line and character, to screen coordinates.

    Declaration
    public virtual Point DisplayToScreen(int x, int y)
    Parameters
    Type Name Description
    Int32 x

    Index of character in the line.

    Int32 y

    Index of line.

    Returns
    Type Description
    Point

    The Point representing screen coordinate.

    Implements
    ISyntaxEdit.DisplayToScreen(Int32, Int32)
    Remarks

    Display coordinate represents point in SyntaxEdit control, it may be different from text coordinate due to tabulations, wordwrap and outlining.

    DisplayToScreen(Int32, Int32, Boolean)

    Converts given display coordinates, index of line and character, to screen coordinates.

    Declaration
    public virtual Point DisplayToScreen(int x, int y, bool average)
    Parameters
    Type Name Description
    Int32 x

    Index of character in the line.

    Int32 y

    Index of line.

    Boolean average
    Returns
    Type Description
    Point

    The Point representing screen coordinate.

    Implements
    ISyntaxEdit.DisplayToScreen(Int32, Int32, Boolean)
    Remarks

    Display coordinate represents point in SyntaxEdit control, it may be different from text coordinate due to tabulations, wordwrap and outlining.

    In This Article
    Back to top Copyright AlterNET Software Download PDF