Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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
)
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also