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

ReadStampAsync Method






A Leadtools.ILeadStream containing the image data which contains the stamp image to load.
1-based index of the page from which the stamp image should be loaded.
Reads a thumbnail image stored in an image stream. .NET support WinRT support
Syntax
public IAsyncOperation<RasterImage> ReadStampAsync( 
   ILeadStream stream,
   int pageNumber
)
'Declaration
 
Public Function ReadStampAsync( _
   ByVal stream As ILeadStream, _
   ByVal pageNumber As Integer _
) As IAsyncOperation(Of RasterImage)
'Usage
 
Dim instance As RasterCodecs
Dim stream As ILeadStream
Dim pageNumber As Integer
Dim value As IAsyncOperation(Of RasterImage)
 
value = instance.ReadStampAsync(stream, pageNumber)
public IAsyncOperation<RasterImage> ReadStampAsync( 
   ILeadStream stream,
   int pageNumber
)
 function Leadtools.Codecs.RasterCodecs.ReadStampAsync( 
   stream ,
   pageNumber 
)
public:
IAsyncOperation<RasterImage^>^ ReadStampAsync( 
   ILeadStream^ stream,
   int pageNumber
) 

Parameters

stream
A Leadtools.ILeadStream containing the image data which contains the stamp image to load.
pageNumber
1-based index of the page from which the stamp image should be loaded.

Return Value

When this method completes, it returns the Leadtools.RasterImage object that this method loads.
Remarks
Only EXIF, CMP, JFIF and FlashPix formats support stamps. However, not all file of these formats contain stamps. To create a thumbnail image from any file, use ReadThumbnail(String,CodecsThumbnailOptions,Int32).
Example
For an example, refer to SaveStamp(RasterImage,String,Int32,Int32,Int32,CodecsSavePageMode).
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
Implementing Extended FlashPix Support

 

 


Products | Support | Contact Us | Copyright Notices

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