Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
ReadStamp Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class : ReadStamp Method




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.
Reads a thumbnail image stored in the file and loads.

Syntax

Visual Basic (Declaration) 
Public Function ReadStamp( _
   ByVal fileName As String, _
   ByVal pageNumber As Integer _
) As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim fileName As String
Dim pageNumber As Integer
Dim value As RasterImage
 
value = instance.ReadStamp(fileName, pageNumber)
C# 
public RasterImage ReadStamp( 
   string fileName,
   int pageNumber
)
Managed Extensions for C++ 
public: RasterImage ReadStamp( 
   string* fileName,
   int pageNumber
) 
C++/CLI 
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.

Example

For an example, refer to SaveStamp.

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also