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



This method can be used to purposefully cancel the FeedLoad(Byte[],Int32,Int32) process.

Syntax

Visual Basic (Declaration) 
Public Sub CancelFeedLoad() 
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
 
instance.CancelFeedLoad()
C# 
public void CancelFeedLoad()
C++/CLI 
public:
void CancelFeedLoad(); 

Example

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

Remarks

This method can be used to gracefully cancel a feed load operation. For example, during feed load progressing, the user might click a cancel button to abort the operation. You can then call this method to end the feed load process without throwing an exception.

For a description of how the methods relate to each other, refer to StartFeedLoad(Int32,CodecsLoadByteOrder).

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