Overload | Description |
---|---|
DeletePage(String,Int32) | Deletes a page from an annotation file containing multiple pages. |
DeletePage(Stream,Int32) | Deletes a page from an annotation stream containing multiple pages. |
Visual Basic | Copy Code |
---|---|
Public Sub AnnCodecs_DeletePage(ByVal fileName As String) |
C# | Copy Code |
---|---|
public void AnnCodecs_DeletePage(string fileName) |
This method can be used to remove annotation pages from a multi-page annotation file. 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family