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



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.
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.
Deletes the specified page from a multipage file, if the format supports delete operations.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub DeletePage( _
   ByVal fileName As String, _
   ByVal page As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim fileName As String
Dim page As Integer
 
instance.DeletePage(fileName, page)
C# 
public void DeletePage( 
   string fileName,
   int page
)
C++/CLI 
public:
void DeletePage( 
   String^ fileName,
   int 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.

Example

Remarks

The following file formats support delete operations:
  • TIFF (most TIFF formats, including JTIF, but excluding EXIF)
  • PCX
  • Winfax

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