←Select platform

FeedLoad(byte[],int,int) Method

Summary

Supplies image data to the file-load process from a buffer that you provide.

Syntax
C#
VB
C++
Java
public void FeedLoad( 
   byte[] data, 
   int offset, 
   int length 
) 
Public Overloads Sub FeedLoad( _ 
   ByVal data() As Byte, _ 
   ByVal offset As Integer, _ 
   ByVal length As Integer _ 
)  
public void feedLoad(byte data[], int offset, int length) 
public: 
void FeedLoad(  
   array<byte>^ data, 
   int offset, 
   int length 
)  

Parameters

data
The image file data.

offset
Offset from the beginning of the buffer to where the image data starts.

length
Total size (in bytes) of the image data.

Remarks

Use this method with the StartFeedLoad and StopFeedLoad methods.

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

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.

Example

For an example, refer to StartFeedLoad.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly