←Select platform

ReadStamp(String,Int32) Method

Summary

Reads a thumbnail image stored in the image file.

Syntax

C#
VB
Objective-C
WinRT C#
C++
public Leadtools.RasterImage ReadStamp(  
   string fileName, 
   int pageNumber 
) 
Public Overloads Function ReadStamp( _ 
   ByVal fileName As String, _ 
   ByVal pageNumber As Integer _ 
) As Leadtools.RasterImage 
public Leadtools.RasterImage ReadStamp(  
   string fileName, 
   int pageNumber 
) 
- (nullable LTRasterImage *)readStampFromFile:(NSString *)file  
                                   pageNumber:(NSInteger)pageNumber  
                                        error:(NSError **)error 
             
 function Leadtools.Codecs.RasterCodecs.ReadStamp(String,Int32)(  
   fileName , 
   pageNumber  
) 
public: 
Leadtools.RasterImage^ ReadStamp(  
   String^ fileName, 
   int pageNumber 
)  

Parameters

fileName
A String containing the name of the file 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.

NOTE: At this time, there are no multi-page formats that support stamps.

Example

For an example, refer to SaveStamp.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Codecs Assembly
Click or drag to resize