Compartilhar via


XMLSchemaReferences.ShowPlaceholderText Property

Word Developer Reference

Returns or sets a Boolean that represents whether automatic placeholder text is displayed for XML elements in a document. Read/write.

Syntax

expression.ShowPlaceholderText

expression   An expression that returns an XMLSchemaReferences collection.

Remarks

True displays placeholder text. False hides placeholder text.

Example

The following toggles the display of placeholder text in the active document.

Visual Basic for Applications
  ActiveDocument.XMLSchemaReferences.ShowPlaceholderText = _
    Not ActiveDocument.XMLSchemaReferences.ShowPlaceholderText

See Also