Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NUIRenderer Class / DrawImage Method / DrawImage(Graphics,Image,Rectangle,Boolean,Boolean) Method
The graphics to draw onto
The image to draw
The rectangle into which to draw the image
True to draw the image disabled, otherwise false
True to perform image fading, false otherwise


In This Topic
    DrawImage(Graphics,Image,Rectangle,Boolean,Boolean) Method
    In This Topic
    Draws an image on a specified graphics surface and within the specified bounds
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub DrawImage( _
       ByVal g As System.Drawing.Graphics, _
       ByVal img As System.Drawing.Image, _
       ByVal r As System.Drawing.Rectangle, _
       ByVal disabled As System.Boolean, _
       ByVal fade As System.Boolean _
    ) 
    'Usage
     
    
    Dim g As System.Drawing.Graphics
    Dim img As System.Drawing.Image
    Dim r As System.Drawing.Rectangle
    Dim disabled As System.Boolean
    Dim fade As System.Boolean
     
    NUIRenderer.DrawImage(g, img, r, disabled, fade)
    public static void DrawImage( 
       System.Drawing.Graphics g,
       System.Drawing.Image img,
       System.Drawing.Rectangle r,
       System.bool disabled,
       System.bool fade
    )

    Parameters

    g
    The graphics to draw onto
    img
    The image to draw
    r
    The rectangle into which to draw the image
    disabled
    True to draw the image disabled, otherwise false
    fade
    True to perform image fading, false otherwise
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also