LEADTOOLS Annotations (Leadtools.Annotations assembly)

DeletePage(Stream,Int32) Method

Show in webframe





The System.IO.Stream from which to delete the page.
Number of the page to delete. The page number is 1-based. Therefore, the first page is page 1, the second page is page 2, etc.
Deletes a page from an annotation stream containing multiple pages.
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 AnnCodecs
Dim stream As Stream
Dim page As Integer
 
instance.DeletePage(stream, page)

            

            
public:
void DeletePage( 
   Stream^ stream,
   int page
) 

Parameters

stream
The System.IO.Stream from which to delete the page.
page
Number of the page to delete. The page number is 1-based. Therefore, the first page is page 1, the second page is page 2, etc.
Remarks

This method can be used to remove annotation pages from a multi-page annotation stream. The page number is 1-based. Therefore, the first page is page 1, the second page is page 2, and so on. This method can be used for all LEAD annotation file formats. To determine the format for a particular LEAD annotation file, use GetInformation(String,AnnCodecsInformation).

Note, you cannot delete a page from an annotation file that has only 1 page.

Example
For an example, refer to DeletePage(String,Int32).
Requirements

Target Platforms

See Also

Reference

AnnCodecs Class
AnnCodecs Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.