Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
StopFeedLoad Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class : StopFeedLoad Method




Ends a file-load process in which you control the input stream.

Syntax

Visual Basic (Declaration) 
Public Function StopFeedLoad() As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim value As RasterImage
 
value = instance.StopFeedLoad()
C# 
public RasterImage StopFeedLoad()
Managed Extensions for C++ 
public: RasterImage StopFeedLoad(); 
C++/CLI 
public:
RasterImage StopFeedLoad(); 

Return Value

The image loaded by the FeedLoad process.

Example

For an example, refer to StartFeedLoad.

Remarks

This cleans up all the variables and buffers allocated by the StartFeedLoad and FeedLoad methods and resets all internal variables to their default settings.

You must call this method to complete a file load that was started with StartFeedLoad.

If you call this method before supplying the complete file, it will successfully clean up the process, but will throw a file-read exception. You should trap the error if the load is canceled purposely.

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also