Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NEmbeddedResourceImageSource Class / NEmbeddedResourceImageSource Constructor / NEmbeddedResourceImageSource Constructor(NEmbeddedResourceRef,Int32,Boolean)
A reference to an embedded resource.
The index of the frame that this image source represents.
Specifies whether image frames should be animated.


In This Topic
    NEmbeddedResourceImageSource Constructor(NEmbeddedResourceRef,Int32,Boolean)
    In This Topic
    Creates a new Image source from the specified embedded resource reference.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal embeddedResource As NEmbeddedResourceRef, _
       ByVal frameIndex As System.Integer, _
       ByVal animateFrames As System.Boolean _
    )
    'Usage
     
    
    Dim embeddedResource As NEmbeddedResourceRef
    Dim frameIndex As System.Integer
    Dim animateFrames As System.Boolean
     
    Dim instance As New NEmbeddedResourceImageSource(embeddedResource, frameIndex, animateFrames)
    public NEmbeddedResourceImageSource( 
       NEmbeddedResourceRef embeddedResource,
       System.int frameIndex,
       System.bool animateFrames
    )

    Parameters

    embeddedResource
    A reference to an embedded resource.
    frameIndex
    The index of the frame that this image source represents.
    animateFrames
    Specifies whether image frames should be animated.
    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