LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
StopFeedGetInformation Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class : StopFeedGetInformation Method



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

Syntax

Visual Basic (Declaration) 
Public Function StopFeedGetInformation() As CodecsImageInfo
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim value As CodecsImageInfo
 
value = instance.StopFeedGetInformation()
C# 
public CodecsImageInfo StopFeedGetInformation()
C++/CLI 
public:
CodecsImageInfo^ StopFeedGetInformation(); 

Return Value

An CodecsImageInfo object containing information about the image data provided by FeedGetInformation(Byte[],Int32,Int32).

Example

For an example, refer to StartFeedGetInformation.

Remarks

This cleans up all the variables and buffers allocated by the StartFeedGetInformation and FeedGetInformation(Byte[],Int32,Int32) methods and resets all internal variables to their default settings.

You must call this method to complete the file information that was started with StartFeedGetInformation.

If you call this method before enough data is supplied to obtain the image information, it will successfully clean up the process, but will throw an exception. You should trap the error if the process is canceled purposely.

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

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also