StopFeedLoad method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int StopFeedLoad (void);

Delphi Syntax

StopFeedLoad: Integer;

Overview

Refer to Loading a Bitmap from Your Own Buffer.

Remarks

Ends a file-load process in which you control the input stream. This cleans up all the variables and buffers allocated by the StartFeedLoad method and the FeedLoad method, and resets all internal variables to their default settings.

You must call this method to complete a file load that was started with the StartFeedLoad method. If you call this method before supplying the complete file, it will successfully clean up the process, but will return a file-read error. You should trap the error if the load is canceled purposely.

For a description of how the methods relate to each other, refer to the StartFeedLoad method.

See Also

Topics:

Raster Images: Loading Files