SPELVideo Control Methods

LoadImage Method, SPELVideo Control

Description
Loads an image from a file for display.

Syntax
Sub LoadImage (Path As String)

Parameters

  • Path
    The full path name of the file to load the image from.

Remarks
Use LoadImage to load a previously saved image for display. The file extension must be BMP, TIF, or JPG.

See Also
VSaveImage (Spel class)

LoadImage Example
VB Example:

m_spelVideo.LoadImage("c:\RejectImages\reject001.bmp")  

C# Example:

m_spelVideo.LoadImage(@"c:\RejectImages\reject001.bmp");