Deletes the specified page from a multipage file in a stream, if the format supports delete operations.


public IAsyncAction DeletePageAsync(
ILeadStream ,
int
)
'Declaration
Public Function DeletePageAsync( _
ByVal As ILeadStream, _
ByVal As Integer _
) As IAsyncAction
'Usage
Dim instance As RasterCodecs
Dim stream As ILeadStream
Dim page As Integer
Dim value As IAsyncAction
value = instance.DeletePageAsync(stream, page)
public IAsyncAction DeletePageAsync(
ILeadStream stream,
int page
)
function Leadtools.Codecs.RasterCodecs.DeletePageAsync(
stream ,
page
)
public:
IAsyncAction^ DeletePageAsync(
ILeadStream^ ,
int
)
Parameters
- stream
- A Leadtools.ILeadStream containing the data of the image 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.
Return Value
An asynchronous delete page operation on a
RasterCodecs object.