Leadtools.Windows.Annotations Namespace > AnnCodecs Class > DeletePage Method : DeletePage(Stream,Int32) Method |
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.
For C#/VB examples, refer to DeletePage(String,Int32).
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2