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.
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.