Video Annotation Object

The video annotation object (ANNOBJECT_VIDEO) is a rectangle containing a scaled image that can be activated to play an AVI file or capture a multimedia file. With the automated functions, in design mode, the user clicks and drags to specify the rectangle in the current window. A dialog box then lets the user specify the preferred options. In run mode, clicking on the icon plays the AVI file.

For playing the video, you must have DirectX installed.

With low-level functions, you must define the size and position of the rectangle. Other applicable properties have the following defaults, which you can change:

Property Default value
Visible Defaults to FALSE. It can be changed using LAnnotation::SetVisible.
Selected Defaults to FALSE. It can be changed using LAnnotation::SetSelected.
Name Defaults to show the name, with the name as the empty string. It can be changed using LAnnotation::SetNameOptions.
Foreground color Defaults to black. It can be changed using LAnnotation::SetForeColor.
Background color Defaults to white. It can be changed using LAnnotation::SetBackColor.
Font size Defaults to 10 point, translated with a scaling factor of 1. It can be changed using LAnnotation::SetFontSize.
Font underline Defaults to FALSE. It can be changed using LAnnotation::SetFontUnderline.
Font strikethrough Defaults to FALSE. It can be changed using LAnnotation::SetFontStrikethrough.
Font italic Defaults to FALSE. It can be changed using LAnnotation::SetFontItalic.
Font bold Defaults to FALSE. It can be changed using LAnnotation::SetFontBold.
Font name Defaults to "Arial". It can be changed using LAnnotation::SetFontName.
Fill mode Defaults to transparent. It can be changed using LAnnotation::SetFillMode.
File Defaults to the empty string. This can be changed using LAnnVideo::SetText.
Tag (identifier) Defaults to 0. It can be changed using LAnnotation::SetTag.
Window handle Defaults to NULL or the handle inherited from the container. It can be changed for all objects using LAnnContainer::SetWnd.
User mode Defaults to design mode or the mode inherited from the container. It can be changed for all objects using LAnnContainer::SetUserMode.
Fixed State Defaults to not fixed. It can be changed using LAnnXXX::SetFixed.
Name Defaults to empty string. It can be changed using LAnnotation::SetNameOptions.

See Also

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.