←Select platform

ReadStamp(Stream,int) Method

Summary

Reads a thumbnail image stored in an image stream.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public RasterImage ReadStamp( 
   Stream stream, 
   int pageNumber 
) 
Public Overloads Function ReadStamp( _ 
   ByVal stream As Stream, _ 
   ByVal pageNumber As Integer _ 
) As Leadtools.RasterImage 
public Leadtools.RasterImage ReadStamp(  
   Stream stream, 
   int pageNumber 
) 
- (nullable LTRasterImage *)readStampFromStream:(LTLeadStream *)stream  
                                     pageNumber:(NSInteger)pageNumber  
                                          error:(NSError **)error 
             
public RasterImage readStamp(ILeadStream stream, int pageNumber) 
 function Leadtools.Codecs.RasterCodecs.ReadStamp(Stream,Int32)(  
   stream , 
   pageNumber  
) 
public: 
Leadtools.RasterImage^ ReadStamp(  
   Stream^ stream, 
   int pageNumber 
)  

Parameters

stream
A 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 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.

Example

For an example, refer to SaveStamp.

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