Visual InterDev

setDataFormatAs Method

See Also      Applies To

Specifies whether the data supplied to the object is rendered as text or HTML.

Syntax

object.setDataFormatAs("text" | "html")

Parameters

object

A Label script object.

"text"

Specifies that the supplied data is processed as text.

"html"

Specifies that the supplied data is processed as HTML.

Remarks

If the supplied data contains HTML and you want it to be processed correctly by the client browser, use the HTML option.

Use getDataFormatAs to return a string that indicates whether data supplied to the object is rendered as text or HTML.