A vector object may be hyperlinked to run a program, access a Web page, open a document or focus the view of the toolkit on a particular vector object within the scene. This is done by hyperlinking the vector object with one or more "targets". Each vector object that is hyperlinked maintains a target list. To open a document or run an application, the target should be set to the file name of the document to open or the program to run. To access a Web page, the target should be set to the URL to access. To focus the toolkit on a specific vector object, the target should be set to that vector object.
To add a new target to a vector object and make it a hyperlinked vector object, or to add an additional target to a vector object that already has one or more other hyperlink targets, call LVectorObject::AddHyperlink. Once a target has been added to a vector object's target list, the target can be changed by calling the LVectorObject::SetHyperlink function.
To retrieve information about a specific target, call the LVectorObject::GetHyperlink function. To determine how many targets the hyperlinked vector object is maintaining, the function LVectorObject::GetHyperlinkCount can be used. LVectorObject::GetHyperlinkCount will retrieve the number of items in the target list.
When the hyperlinked vector object is clicked, the LVectorObject::GotoHyperlink must be called with the chosen target in the target list. This activates the target.
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