Nevron Open Vision Documentation
Nevron.Nov.Schedule Namespace / NTimeIndicator Class / Paint Method / Paint(NPaintVisitor,DateTime) Method
The point in time at which to paint the time indicator.


In This Topic
    Paint(NPaintVisitor,DateTime) Method
    In This Topic
    Paints this time indicator at the specified point in time. The default implementation of this method calculates the time indicator bounds based on the given dateTime and then calls the Paint(NPaintVisitor,ENHVOrientation,NRectangle,DateTime) method.
    Syntax
    'Declaration
     
    
    Protected Overloads Overridable Sub Paint( _
       ByVal visitor As NPaintVisitor, _
       ByVal dateTime As System.Date _
    ) 
    'Usage
     
    
    Dim instance As NTimeIndicator
    Dim visitor As NPaintVisitor
    Dim dateTime As System.Date
     
    instance.Paint(visitor, dateTime)
    protected virtual void Paint( 
       NPaintVisitor visitor,
       System.DateTime dateTime
    )

    Parameters

    visitor
    dateTime
    The point in time at which to paint the time indicator.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also