Nevron .NET Vision
Nevron.GraphicsCore Namespace / N2DDeviceGDI Class / DrawImage Method / DrawImage(Bitmap,NRectangleF,NRectangleF,GraphicsUnit) Method


In This Topic
    DrawImage(Bitmap,NRectangleF,NRectangleF,GraphicsUnit) Method
    In This Topic
    Draws the specified portion of the specified Image object at the specified location and with the specified size.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Sub DrawImage( _
       ByVal image As System.Drawing.Bitmap, _
       ByVal destRect As NRectangleF, _
       ByVal srcRect As NRectangleF, _
       ByVal srcUnit As System.Drawing.GraphicsUnit _
    ) 
    'Usage
     
    
    Dim instance As N2DDeviceGDI
    Dim image As System.Drawing.Bitmap
    Dim destRect As NRectangleF
    Dim srcRect As NRectangleF
    Dim srcUnit As System.Drawing.GraphicsUnit
     
    instance.DrawImage(image, destRect, srcRect, srcUnit)
    public override void DrawImage( 
       System.Drawing.Bitmap image,
       NRectangleF destRect,
       NRectangleF srcRect,
       System.Drawing.GraphicsUnit srcUnit
    )

    Parameters

    image
    destRect
    srcRect
    srcUnit
    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