mlreportgen.dom.ExternalLink Class
Namespace: mlreportgen.dom
Hyperlink to a location outside of document
Description
Use an object of the mlreportgen.dom.ExternalLink class to define a hyperlink to a location outside of the document.
To see what DOM objects you can append an mlreportgen.dom.ExternalLink object to,
see Append mlreportgen.dom.ExternalLink object to DOM class object.
The mlreportgen.dom.ExternalLink class is a handle class.
Creation
Description
creates a hyperlink to the specified target and having the specified link
text. This constructor creates a externalLinkObj = ExternalLink(targetName,linkText)mlreportgen.dom.Text object
to hold the link text.
creates a hyperlink with the specified link text and style name.externalLinkObj = ExternalLink(targetName,linkText,linkTextStyleName)
creates a hyperlink to the specified target using link text from the
specified externalLinkObj = ExternalLink(targetName,domObj)mlreportgen.dom.Text, mlreportgen.dom.Number, or mlreportgen.dom.CharEntity
object.
Input Arguments
Properties
Methods
Examples
More About
Tips
When you append
mlreportgen.dom.ExternalLinkobjects in documents, the object content appends differently depending on the document format. In HTML documents, the content appends in the same line. In PDF and DOCX documents, the content appends in separate lines. To append the content in the same line, create amlreportgen.dom.Paragraphobject, append the content to the paragraph object by using theappendmethod, then append the paragraph object to the document object.
Version History
Introduced in R2014b