Creates a new CompactImage object, loads an image from the specified stream into it with specified frame number and displays it using ImageBox.
This method creates a new CompactImage object, loads an image into it from the specified stream. The stream which contains the image is specified in the stream parameter. The format of the image is provided in the imageFormat parameter. The frame parameter specifies the frame number of the image that should be loaded. Numbering of the frames is zero based. That means, if you want to load the first frame, put 0 into the frame parameter. The ImageBox then assigns the CompactImage object to the CompactImage property and displays it.
ImageBox Class | Resco.Controls.ImageBox Namespace | ImageBox.LoadImage Overload List