- fileName
- A System.String containing the name of the 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 fileName As String, _ ByVal page As Integer _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As RasterCodecs Dim fileName As String Dim page As Integer instance.DeletePage(fileName, page) |
Parameters
- fileName
- A System.String containing the name of the 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)