LEADTOOLS Image File Support (Leadtools.Codecs assembly)

ReadStamp(Stream,Int32) Method

Show in webframe







A System.IO.Stream 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.
Syntax
public RasterImage ReadStamp( 
   Stream stream,
   int pageNumber
)
'Declaration
 
Public Overloads Function ReadStamp( _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer _
) As RasterImage
'Usage
 
Dim instance As RasterCodecs
Dim stream As Stream
Dim pageNumber As Integer
Dim value As RasterImage
 
value = instance.ReadStamp(stream, pageNumber)
public RasterImage ReadStamp( 
   Stream stream,
   int pageNumber
)
-(LTRasterImage*)readStamp:(LTLeadStream*)stream pageNumber:(unsigned int)pageNumber error:(NSError**)outError;
public RasterImage readStamp(ILeadStream stream, int pageNumber)
 function Leadtools.Codecs.RasterCodecs.ReadStamp(Stream,Int32)( 
   stream ,
   pageNumber 
)
public:
RasterImage^ ReadStamp( 
   Stream^ stream,
   int pageNumber
) 

Parameters

stream
A System.IO.Stream 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

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

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List
Implementing Extended FlashPix Support

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.