←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
WinRT C#
C++
public void FeedLoad( 
   IntPtr data, 
   int length 
) 
Public Overloads Sub FeedLoad( _ 
   ByVal data As IntPtr, _ 
   ByVal length As Integer _ 
)  
public void FeedLoad(  
   IntPtr data, 
   int length 
) 
- (BOOL)feedLoad:(const unsigned char *)buffer length:(NSUInteger)length error:(NSError **)error 
- (BOOL)feedLoadData:(NSData *)data length:(NSUInteger)length error:(NSError **)error 
             
 function Leadtools.Codecs.RasterCodecs.FeedLoad(IntPtr,Int32)(  
   data , 
   length  
) 
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly