LAnnotation::CreateAnnObject

Summary

Creates an annotation class object of the specified type. You can use this static function to get a proper annotation class object that is compatible and of the same type as the passed annotation handle.

Syntax

#include "ltwrappr.h"

static LAnnotation * LAnnotation::CreateAnnObject(hAnnObject)

Parameters

HANNOBJECT hAnnObject

Handle of the annotation object.

Returns

A pointer to the created annotation class object.

Comments

The passed annotation handle will be associated with the created annotation class object. You can get the type of the returned object by calling LAnnotation::GetType. Then you can cast the returned pointer to the correct type.

You are responsible for deleting the created object.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LAnnotation::CutToClipboard.

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.