LAnnotation::Remove

#include "ltwrappr.h"

virtual L_INT LAnnotation::Remove(L_VOID)

Removes the annotation object from its current Container, leaving the object with no Container. This function is available in the Document/Medical Toolkits.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

If you want the object to be inserted into another container, such as the main container of the display, you must use the LAnnContainer::Insert function.

Required DLLs and Libraries

LTANN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

Class Members, LAnnotation::AdjustPoint, LAnnContainer::Convert, LAnnotation::Define2, LAnnotation::GetRestrictToContainer, LAnnEncrypt::GetRotateAngle, LAnnContainer::HitTestExt, LAnnContainer::RestrictCursor, LAnnotation::SetRestrictToContainer

Topics:

Annotation Functions: Creating and Deleting Annotations

 

Annotation Functions: Object Information

 

Implementing Annotations

 

Annotation Functions: Implementing Custom Annotations

 

Displaying and Manipulating Annotation Objects

Example

For an example, refer to LAnnotation::CutToClipboard.