C#
VB
Java
Objective-C
WinRT C#
C++
Defines a media (audio or video) source.
public class AnnMedia
Public Class AnnMedia
public sealed class AnnMedia
@interface LTAnnMedia : NSObject<NSCoding,NSCopying>
public class AnnMedia
function Leadtools.Annotations.Core.AnnMedia()
public:
ref class AnnMedia
The AnnMedia class defines a (audio or video) media source. The design of this object follows HTML 5 video and audio tags. The class contains the following properties:
Property | Description |
---|---|
Source1 | The URL to the main media file. The LEADTOOLS annotations is designed to work similar to HTML 5 video or audio tag. The automation will try to play this source, if it fails, the first alternate source at Source2 will be tried. If that fails, the second alternate source at Source2 will be tried. For more information, refer to the HTML 5 video tag. |
Type1 | The media type for Source1. Similar to HTML 5 media type for the HTML 5 video tag. Media types are currently not used by LEADTOOLS. |
Source2 | The URL to the first alternate media file. |
Type2 | The media type for Source2. |
Source3 | The URL to the second alternate media file. |
Type3 | The media type for Source3. |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET