Scheduler for WinForms | ComponentOne
C1.Win.Schedule.8 Assembly / C1.Win.Schedule Namespace / C1Schedule Class / GetDateTimeAtPoint Method
The System.Drawing.Point value in screen coordinates.

In This Topic
    GetDateTimeAtPoint Method (C1Schedule)
    In This Topic
    Returns the System.DateTime value which is located in the Schedule at the given screen point.
    Syntax
    'Declaration
     
    Public Function GetDateTimeAtPoint( _
       ByVal location As System.Drawing.Point _
    ) As System.Date
    public System.DateTime GetDateTimeAtPoint( 
       System.Drawing.Point location
    )

    Parameters

    location
    The System.Drawing.Point value in screen coordinates.

    Return Value

    The System.DateTime value at given point if it's a point inside of scheduled area; the value of CurrentDate property in other case.
    See Also