Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NPaintVisitor Class / PaintImage Method / PaintImage(NImageSource,NRectangle) Method
The image source that provides the image.
The rectangle that should be filled by the image.


In This Topic
    PaintImage(NImageSource,NRectangle) Method
    In This Topic
    Paints the specified image inside the specified bounding rectangle. The image might be stretched or shrinked in order to fill the bounding rectangle.
    Syntax
    'Declaration
     
    
    Public Overloads Sub PaintImage( _
       ByVal imageSource As NImageSource, _
       ByVal bounds As NRectangle _
    ) 
    'Usage
     
    
    Dim instance As NPaintVisitor
    Dim imageSource As NImageSource
    Dim bounds As NRectangle
     
    instance.PaintImage(imageSource, bounds)
    public void PaintImage( 
       NImageSource imageSource,
       NRectangle bounds
    )

    Parameters

    imageSource
    The image source that provides the image.
    bounds
    The rectangle that should be filled by the image.
    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