Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

DeletePageAsync Method








A ILeadStream containing the data of the image 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 multi-page file in a stream, if the format supports delete operations.
Syntax
public IAsyncAction DeletePageAsync( 
   ILeadStream stream,
   int pageNumber
)
'Declaration
 
Public Function DeletePageAsync( _
   ByVal stream As ILeadStream, _
   ByVal pageNumber As Integer _
) As IAsyncAction
'Usage
 
Dim instance As RasterCodecs
Dim stream As ILeadStream
Dim pageNumber As Integer
Dim value As IAsyncAction
 
value = instance.DeletePageAsync(stream, pageNumber)
public IAsyncAction DeletePageAsync( 
   ILeadStream stream,
   int pageNumber
)
 function Leadtools.Codecs.RasterCodecs.DeletePageAsync( 
   stream ,
   pageNumber 
)
public:
IAsyncAction^ DeletePageAsync( 
   ILeadStream^ stream,
   int pageNumber
) 

Parameters

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.

Return Value

An asynchronous delete page operation on a RasterCodecs object.
Remarks
The following file formats support delete operations:
Example
For an example, refer to Save.
Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Loading and Saving Images
Loading and Saving Large TIFF / BigTIFF Files
Speeding Up 1-Bit Documents
Fast File Info

Error processing SSI file