- 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.
| 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.For an example, refer to SaveStamp(RasterImage,String,Int32,Int32,Int32,CodecsSavePageMode).
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).
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
Copy Code