Many annotation objects use text as part of the annotation.
The AnnTextObject class provides properties common to all text which are utilized by any class of annotation object that utilizes text. The following classes use text:
Each of these classes (either through the direct implementation or inheritance) accesses properties that control vertical and horizontal alignment, margin width and the actual text. The Text property sets the text string for the annotation object. The TextRotate property controls the rotation value for the text. The TextBackground and TextForeground properties control the brushes used to draw the text. The HorizontalAlignment and VerticalAlignment properties control the horizontal and vertical alignment of the text. The Padding property controls the distance between the text and its bounding rectangle.
AnnTextObject:
The AnnTextObject class derives from the AnnRectangleObject object and adds the properties mentioned above. The text annotation object is a text string within a bounding rectangle. This class supports stroke and fill and can be used on the bounding rectangle, if needed.
AnnNoteObject:
The AnnNoteObject class derives from the AnnTextObject object and adds the following attributes:
AnnStampObject:
The AnnStampObject class derives from the AnnTextObject object and adds the following:
AnnTextPointerObject:
The AnnTextPointerObject class derives from the AnnTextObject object and adds the following:
AnnTextRollupObject:
The AnnTextRollupObject class derives from the AnnNoteObject object and adds the following: - Expanded
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