LAnnContainer::Insert

Summary

Inserts the specified annotation object into the Container.

Syntax

#include "ltwrappr.h"

virtual L_INT LAnnContainer::Insert(LAnnObject, bStripContainer=FALSE)

Parameters

LAnnotation& LAnnObject

The annotation object to insert.

L_BOOL bStripContainer

Flag that indicates whether to insert a container. Possible values are:

Value Meaning
TRUE If the LAnnObject parameter specifies a container, only the objects in the container will be inserted into the new container. In this case, the container specified in LAnnObject is destroyed.
FALSE If the LAnnObject parameter specifies a container, the container and all objects within the container (objects and other containers) will be inserted into the new container.

If the LAnnObject parameter specifies an object, that object will be inserted into the new container.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

If LAnnObject is a:

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LAnnContainer::Create.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.