LEADTOOLS Annotations Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.22
AnnVideoObject

Note: This topic is for Document/Medical only.

The video annotation object (AnnVideoObject) is a scaled image that can be activated to play a video clip. The video file path is stored in the Leadtools.Annotations.AnnVideoObject.FileName property, so the video data itself is not stored in this object, only the physical path. In run mode, when this video object is clicked, the framework will try to locate and then play the video file stored in Leadtools.Annotations.AnnVideoObject.FileName. This object will use the default image of a video icon. To change this default image, change the Leadtools.Annotations.AnnImageObject.Picture value.

The AnnVideoObject class inherits the AnnImageObject class and accesses the common Leadtools.Annotations.AnnImageObject.Picture property mentioned above through this inheritance.

LEADTOOLS Annotations uses the LEADTOOLS Multimedia for .NET toolkit to render video files and Leadtools.Multimedia must be present on the machine. For more information, refer to Introduction to LEADTOOLS Multimedia for .NET.

Programmatically, the boundaries and location of the audio object can be controlled using the following properties:

The AnnVideoObject class inherits the following properties from the AnnDrawable class that provide support for font, pen and brush characteristics:

The name of the video object can be controlled using the following properties, inherited from the AnnObject class:

The following properties may be used in transforming an video annotation object:

An object can be part of a group annotation object or part of a container object. It cannot be part of both a group and a container at the same time. The Container property and the Group property, both inherited from the AnnObject class, contain information on the container or the group to which the object belongs.

The following properties can also be used to programmatically set characteristics of an AnnVideoObject class object:

For more information about the automated video annotation object, refer to Annotation Objects - Automated Features and Automated Annotations - Video Tab.