- stream
- The 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.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub DeletePage( _ ByVal stream As Stream, _ ByVal page As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- stream
- The 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.
For an example, refer to DeletePage.
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.
Note, you cannot delete a page from an annotation file that has only 1 page.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family