Deletes the specified page from a multi-page file in a stream, if the format supports delete operations.
public IAsyncAction DeletePageAsync(
ILeadStream stream,
int pageNumber
)
Public Function DeletePageAsync( _
ByVal stream As ILeadStream, _
ByVal pageNumber As Integer _
) As IAsyncAction
public IAsyncAction DeletePageAsync(
ILeadStream stream,
int pageNumber
)
function Leadtools.Codecs.RasterCodecs.DeletePageAsync(
stream ,
pageNumber
)
public:
IAsyncAction^ DeletePageAsync(
ILeadStream^ stream,
int pageNumber
)
stream
A ILeadStream containing the data of the image 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.
An asynchronous delete page operation on a RasterCodecs object.
The following file formats support delete operations:
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