LEADTOOLS Image File Support (Leadtools.Codecs assembly)

DeletePage(Stream,Int32) Method

Show in webframe







A System.IO.Stream 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 multipage file in a stream, if the format supports delete operations.
Syntax
public void DeletePage( 
   Stream stream,
   int page
)
'Declaration
 
Public Overloads Sub DeletePage( _
   ByVal stream As Stream, _
   ByVal page As Integer _
) 
'Usage
 
Dim instance As RasterCodecs
Dim stream As Stream
Dim page As Integer
 
instance.DeletePage(stream, page)
public void DeletePage( 
   Stream stream,
   int page
)
-(BOOL)deletePage:(LTLeadStream*)stream page:(unsigned int)page error:(NSError**)outError;
public void deletePage(ILeadStream stream, int page)
 function Leadtools.Codecs.RasterCodecs.DeletePage(Stream,Int32)( 
   stream ,
   page 
)
public:
void DeletePage( 
   Stream^ stream,
   int page
) 

Parameters

stream
A System.IO.Stream 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.
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

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-2014 All Rights Reserved. LEAD Technologies, Inc.