AnnDeletePageMemory method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short AnnDeletePageMemory(OLE_HANDLE hMem, long* plSize, 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.

See Also

Elements:  AnnDeletePage method, AnnDeletePageArray method, AnnLoadArray method, AnnLoadMemory method, AnnSaveMemory method, AnnLoad method, AnnSave method, AnnSaveArray method

Topics:  Annotations (Document/Medical only): Input and Output