This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Package: mlreportgen.dom

Append custom element to external link


textObjOut = append(externalLinkObj,text)
textObjOut = append(externalLinkObj,text,styleName)
domObjOut = append(externalLinkObj,domObj)


textObjOut = append(externalLinkObj,text) appends a Text object constructed from the specified text to the link.

textObjOut = append(externalLinkObj,text,styleName) appends text using the specified style.

domObjOut = append(externalLinkObj,domObj) appends a Text, Image, or CustomElement object to the link.

Input Arguments

collapse all

External link object to append custom element to, specified as an mlreportgen.dom.ExternalLink object.

Text to append, specified as a character vector.

The style to use with the appended text. The style defines the appearance of the document element in the output document.

Use a style that is defined in the style sheet of the template of the document you append content to.

DOM object to append, specified as an mlreportgen.dom.Text, mlreportgen.dom.Image, or mlreportgen.dom.CustomElement object.

Output Arguments

collapse all

Text appended to an external link, represented by an mlreportgen.dom.Text object.

External link with appended content, returned as a DOM object of the same class as the input argument DOM object.

Introduced in R2014b