- stream
- A System.IO.Stream containing the data of the image file from which to delete the page.
- page
- 1-based index of the page to delete. Use -1 to delete the last page. Use 1 to delete the first page.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub DeletePage( _ ByVal stream As Stream, _ ByVal page As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterCodecs Dim stream As Stream Dim page As Integer instance.DeletePage(stream, page) |
Parameters
- stream
- A System.IO.Stream containing the data of the image file from which to delete the page.
- page
- 1-based index of the page to delete. Use -1 to delete the last page. Use 1 to delete the first page.
For an example, refer to Save(RasterImage,String,RasterImageFormat,Int32,Int32,Int32,Int32,CodecsSavePageMode).
The following file formats support delete operations:
- TIFF (most TIFF formats, including JTIF, but excluding EXIF)
- PCX
- Winfax
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)