LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ReadStamp(String,Int32) Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class > ReadStamp Method : ReadStamp(String,Int32) Method



fileName
A System.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.
fileName
A System.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 image file.

Syntax

Visual Basic (Declaration) 
Overloads 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 System.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 Leadtools.RasterImage object that this method loads.

Example

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(String,CodecsThumbnailOptions,Int32).

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also