AnnDeletePageMemory method(ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnDeletePageMemory(long hMem, 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. The argument plSize will contain the new size of the annotation file in memory. (For VC, pass the address of a long variable. For VB, just pass the long variable). 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.

Read the AnnPageMemorySize property after calling this method to get the size of the annotation file in memory.

See Also

Elements:

AnnDeletePage method, AnnDeletePageArray method, AnnLoadArray method, AnnLoadMemory method, AnnSaveMemory method, AnnLoad method, AnnSave method, AnnSaveArray method, AnnPageMemorySize property

Topics:

Annotations (Document/Medical only): Input and Output