ImageGear .NET v25.2 - Updated
ImageGear.Windows.Forms Assembly / ImageGear.Windows.Forms Namespace / ImGearPageView Class / RegisterAfterDraw Method
Method to be called after default painting.




In This Topic
    RegisterAfterDraw Method
    In This Topic
    Registers a method to be called after default painting has been performed.
    Syntax
    'Declaration
     
    Public Sub RegisterAfterDraw( _
       ByVal callback As ImGearPageView.AfterDraw _
    ) 
    'Usage
     
    Dim instance As ImGearPageView
    Dim callback As ImGearPageView.AfterDraw
     
    instance.RegisterAfterDraw(callback)
    public void RegisterAfterDraw( 
       ImGearPageView.AfterDraw callback
    )
    public: void RegisterAfterDraw( 
       ImGearPageView.AfterDraw* callback
    ) 
    public:
    void RegisterAfterDraw( 
       ImGearPageView.AfterDraw^ callback
    ) 

    Parameters

    callback
    Method to be called after default painting.
    Remarks
    This method can be used by an application to perform additional painting, such as painting overlaid on top of the image. It is recommended that the AfterDrawEvent event be used instead of this method.
    See Also