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



stream
A System.IO.Stream containing the image data which contains the stamp image to load.
pageNumber
1-based index of the page from which the stamp image should be loaded.
stream
A System.IO.Stream containing the image data 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 an image stream.

Syntax

Visual Basic (Declaration) 
Overloads Public Function ReadStamp( _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer _
) As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim stream As Stream
Dim pageNumber As Integer
Dim value As RasterImage
 
value = instance.ReadStamp(stream, pageNumber)
C# 
public RasterImage ReadStamp( 
   Stream stream,
   int pageNumber
)
C++/CLI 
public:
RasterImage^ ReadStamp( 
   Stream^ stream,
   int pageNumber
) 

Parameters

stream
A System.IO.Stream containing the image data 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