LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

FeedLoad(IBuffer,Int32,Int32) Method






The image file in a buffer.
Offset from the beginning of the buffer to where the image data starts.
Total size (in bytes) of the image data.
Supplies unmanaged memory image data to the file-load process from a buffer that you provide. .NET support WinRT support
Syntax
public void FeedLoad( 
   IBuffer data,
   int offset,
   int length
)
'Declaration
 
Public Overloads Sub FeedLoad( _
   ByVal data As IBuffer, _
   ByVal offset As Integer, _
   ByVal length As Integer _
) 
'Usage
 
Dim instance As RasterCodecs
Dim data As IBuffer
Dim offset As Integer
Dim length As Integer
 
instance.FeedLoad(data, offset, length)
public void FeedLoad( 
   IBuffer data,
   int offset,
   int length
)
 function Leadtools.Codecs.RasterCodecs.FeedLoad(IBuffer,Int32,Int32)( 
   data ,
   offset ,
   length 
)
public:
void FeedLoad( 
   IBuffer^ data,
   int offset,
   int length
) 

Parameters

data
The image file in a buffer.
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(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.

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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List
Loading and Saving Images
Loading and Saving Large Tiff Files
Speeding Up 1-Bit Documents
Fast File Info

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.