mlreportgen.dom.InternalLink Class
Namespace: mlreportgen.dom
Hyperlink to a location in same document
Description
Use an object of the mlreportgen.dom.InternalLink class to hyperlink to a location in the same document that contains the
hyperlink. Use this kind of link to provide internal navigation within a
document.
To see what DOM objects you can append an mlreportgen.dom.InternalLink
object to, see Append mlreportgen.dom.InternalLink object to DOM class object
.
The mlreportgen.dom.InternalLink class is a handle class.
Creation
Description
creates a hyperlink to the specified link target
object and uses the specified link text.internalLinkObj = InternalLink(targetName,linkText)
creates a hyperlink to the specified link target and
uses the specified style name for the link
text.internalLinkObj = InternalLink(targetName,linkText,linkTextStyleName)
creates a hyperlink to the specified target using
link text from the specified internalLinkObj = InternalLink(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.InternalLinkobjects 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