←Select platform

FeedLoad(IntPtr,int) Method

Summary

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

Syntax
C#
VB
Objective-C
C++
public void FeedLoad( 
   IntPtr data, 
   int length 
) 
Public Overloads Sub FeedLoad( _ 
   ByVal data As IntPtr, _ 
   ByVal length As Integer _ 
)  
- (BOOL)feedLoad:(const unsigned char *)buffer length:(NSUInteger)length error:(NSError **)error 
- (BOOL)feedLoadData:(NSData *)data length:(NSUInteger)length error:(NSError **)error 
public: 
void FeedLoad(  
   IntPtr data, 
   int length 
)  

Parameters

data
The image file unmanaged memory data.

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.2019.12.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly