AnnDeletePageArray method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnDeletePageArray(ILEADRasterVariant * pvMem,long lPage);

Overview

Refer to Annotation Files

Remarks

(Document/Medical only)Deletes a page from a multi-page annotation file in memory. The page number is 1-based. Therefore, the first page is page 1, the second page is page 2, and so on. Deleting a page from an annotation file will cause the size of the annotation file to change. To obtain the new size, use the following:

Size = UpperBound of the VARIANT – LowerBound of the VARIANT + 1;

This method is valid only for annotation files that contain at least two pages. If an annotation file contains only one page, calling this method will return an error.

See Also

Elements:

AnnDeletePageMemory method, AnnDeletePage method, AnnLoadArray method, AnnLoadMemory method, AnnSaveMemory method, AnnLoad method, AnnSave method, AnnSaveArray method

Topics:

Annotations (Document/Medical only): Input and Output