←Select platform

DeletePage(Stream,Int32) Method

Summary

Deletes a page from an annotation stream containing multiple pages.

Syntax

C#
VB
C++
public void DeletePage(  
   Stream stream, 
   int page 
) 
  
Public Overloads Sub DeletePage( _ 
   ByVal stream As Stream, _ 
   ByVal page As Integer _ 
)  
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations Assembly
Click or drag to resize