Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ToolBarButton Class / DrawImage Method / DrawImage(Graphics,ViewportLayout,Int32,Int32,Int32,Int32) Method
Graphics surface.

In This Topic
    DrawImage(Graphics,ViewportLayout,Int32,Int32,Int32,Int32) Method
    In This Topic
    Draws the button image.
    Syntax
    'Declaration
     
    Protected Overloads Overridable Sub DrawImage( _
       ByVal g As Graphics, _
       ByVal viewport As ViewportLayout, _
       ByVal x As Integer, _
       ByVal y As Integer, _
       ByVal width As Integer, _
       ByVal height As Integer _
    ) 
    protected virtual void DrawImage( 
       Graphics g,
       ViewportLayout viewport,
       int x,
       int y,
       int width,
       int height
    )

    Parameters

    g
    Graphics surface.
    viewport
    x
    y
    width
    height
    See Also