Share via


CoreResultsWebPart.EnableDocumentPreviewWord property

Gets or sets a Boolean value that specifies whether document preview is enabled for Microsoft Office Word files.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property EnableDocumentPreviewWord As Boolean
    Get
    Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As Boolean

value = instance.EnableDocumentPreviewWord

instance.EnableDocumentPreviewWord = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool EnableDocumentPreviewWord { get; set; }

Property value

Type: System.Boolean
true, if document preview is enabled; otherwise false.

See also

Reference

CoreResultsWebPart class

CoreResultsWebPart members

Microsoft.Office.Server.Search.WebControls namespace