DesignerDocument.htmlViewText Property

SharePoint Designer Developer Reference

Returns or sets a String that represents the HTML contained in a specified document.

Syntax

expression.htmlViewText

expression   Required. A variable that represents a DesignerDocument object.

Remarks

The htmlViewText property returns the same results as the DocumentHTML property. However, when you set the value of the DocumentHTML property equal to a String, the HTML in the document is changed to the value of the new string; when you set the htmlViewText property equal to a String, the value returned is a Boolean. This represents the comparison of the value of the HTML contained in the document to the String assigned to the htmlViewText property. True indicates that the two strings are the same. False indicates that the two strings are different.

See Also