Deletes the specified page from a multi-page file, if the format supports delete operations.
public void DeletePage(
string fileName,
int pageNumber
)
Public Overloads Sub DeletePage( _
ByVal fileName As String, _
ByVal pageNumber As Integer _
)
public void DeletePage(
string fileName,
int pageNumber
)
- (BOOL)deletePageInFile:(NSString *)file page:(NSInteger)page error:(NSError **)error
function Leadtools.Codecs.RasterCodecs.DeletePage(String,Int32)(
fileName ,
pageNumber
)
public:
void DeletePage(
String^ fileName,
int pageNumber
)
fileName
A String containing the name of the file from which to delete the page.
pageNumber
1-based index of the page to delete. Use -1 to delete the last page. Use 1 to delete the first page.
The following file formats support delete operations:
For an example, refer to Save.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET