AnnDeletePageMemory method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int fastcall AnnDeletePageMemory(L_HANDLE hMem, Windows::PLongint plSize, int nPage);

Delphi Syntax

Function AnnDeletePageMemory(hMem: L_HANDLE; plSize: pLongint; nPage: Integer): Integer;

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 Delphi and C++ Builder, pass the address of a 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, AnnLoadMemory method, AnnSaveMemory method, AnnLoad method

Topics:

Annotations (Document/Medical only): Input and Output