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.
#include "ltwrappr.h"
static LAnnotation * LAnnotation::CreateAnnObject(hAnnObject)
Handle of the annotation object.
A pointer to the created annotation class object.
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.
Win32, x64.
For an example, refer to LAnnotation::CutToClipboard.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document