←Select platform

ReadStamp(string,int) Method

Summary
Reads a thumbnail image stored in the image file.
Syntax
C#
Objective-C
C++
public RasterImage ReadStamp( 
   string fileName, 
   int pageNumber 
) 
- (nullable LTRasterImage *)readStampFromFile:(NSString *)file  
                                   pageNumber:(NSInteger)pageNumber  
                                        error:(NSError **)error 
public: 
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, JPEG, FlashPix and HEIF/HEIC 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 multipage formats that support stamps.

Example

For an example, refer to SaveStamp.

Requirements

Target Platforms

See Also

RasterCodecs Class

RasterCodecs Members

Overload List

Implementing Extended FlashPix Support

Help Version 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.