Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LAnnotation::CreateAnnObject

Show in webframe

#include "ltwrappr.h"

static LAnnotation * LAnnotation::CreateAnnObject(hAnnObject)

HANNOBJECT hAnnObject;

/* handle of the annotation object */

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.

Parameter

Description

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

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.

Platforms

Win32, x64.

See Also

Functions:

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

Topics:

Annotation Functions: Creating and Deleting Annotations

 

Implementing Annotations

 

Types of Annotations

 

Annotation Functions: Implementing Custom Annotations

 

Displaying and Manipulating Annotation Objects

Example

For an example, refer to LAnnotation::CutToClipboard.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.