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



data
The image file unmanaged memory data.
length
Total size (in bytes) of the image data.
data
The image file unmanaged memory data.
length
Total size (in bytes) of the image data.
Supplies unmanaged memory image data to the file-load process from a buffer that you provide.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub FeedLoad( _
   ByVal data As IntPtr, _
   ByVal length As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim data As IntPtr
Dim length As Integer
 
instance.FeedLoad(data, length)
C# 
public void FeedLoad( 
   IntPtr data,
   int length
)
C++/CLI 
public:
void FeedLoad( 
   IntPtr data,
   int length
) 

Parameters

data
The image file unmanaged memory data.
length
Total size (in bytes) of the image data.

Example

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

Remarks

Use this method with the StartFeedLoad(Int32,CodecsLoadByteOrder) and StopFeedLoad methods.

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

LEADTOOLS will attempt to load corrupted files, so you can see at least a portion of the image. For these images, the load methods succeed, but LoadStatus will return an error code.

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