LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

DeletePage(String,Int32) Method






A System.String containing the name of the file from which to delete the 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. .NET support Silverlight support
Syntax
public void DeletePage( 
   string fileName,
   int page
)
'Declaration
 
Public Overloads Sub DeletePage( _
   ByVal fileName As String, _
   ByVal page As Integer _
) 
'Usage
 
Dim instance As RasterCodecs
Dim fileName As String
Dim page As Integer
 
instance.DeletePage(fileName, page)
public void DeletePage( 
   string fileName,
   int page
)
 function Leadtools.Codecs.RasterCodecs.DeletePage(String,Int32)( 
   fileName ,
   page 
)
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.
Remarks
The following file formats support delete operations:
Example
For an example, refer to Save(RasterImage,String,RasterImageFormat,Int32,Int32,Int32,Int32,CodecsSavePageMode).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List
Loading and Saving Images
Loading and Saving Large Tiff Files
Speeding Up 1-Bit Documents
Fast File Info

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.