ToolTipsFactory

Object Model - The AnimationFrame class - New 

The constructor to create a new AnimationFrame-instance.

[Visual Basic]
Public Sub New(ByVal Img As Image)
[C#]
public void New(Image img);

Parameters

Img

    The image for this AnimationFrame-instance.

Return value

None. 

Description

This is the main constructor to create new AnimationFrame-objects. AnimationFrame-objects need to be instantiated with an Image

 

'Create a new AnimationFrame

Dim myFrame As AnimationFrame

Dim myImage As Image = Image.FromFile("C:\Temp\Photo1.jpg")

myFrame = New AnimationFrame(myImage)