LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

StopFeedLoad Method






Ends a file-load process in which you control the input stream. .NET support WinRT support
Syntax
public RasterImage StopFeedLoad()
'Declaration
 
Public Function StopFeedLoad() As RasterImage
'Usage
 
Dim instance As RasterCodecs
Dim value As RasterImage
 
value = instance.StopFeedLoad()
public RasterImage StopFeedLoad()
 function Leadtools.Codecs.RasterCodecs.StopFeedLoad()
public:
RasterImage^ StopFeedLoad(); 

Return Value

The image loaded by the FeedLoad(Byte[],Int32,Int32) process.
Remarks

This cleans up all the variables and buffers allocated by the StartFeedLoad(Int32,CodecsLoadByteOrder) and FeedLoad(Byte[],Int32,Int32) 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(Int32,CodecsLoadByteOrder).

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(Int32,CodecsLoadByteOrder).

Example
For an example, refer to StartFeedLoad(Int32,CodecsLoadByteOrder).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Loading and Saving Images
Loading and Saving Large Tiff Files
Speeding Up 1-Bit Documents
Fast File Info

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.