Share via


WebOptions.DownloadComponents Property

True if the necessary Microsoft Office Web components are downloaded when you view the saved document in a Web browser, but only if the components are not already installed. False if the components are not downloaded. The default value is False.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property DownloadComponents As Boolean
    Get
    Set
'Usage
Dim instance As WebOptions
Dim value As Boolean

value = instance.DownloadComponents

instance.DownloadComponents = value
bool DownloadComponents { get; set; }

Property Value

Type: System.Boolean

Remarks

You can set the LocationOfComponents property to a central URL (on the intranet or Web) or path (local or network) to a location from which authorized users can download components when viewing your saved document. The path must be valid and must point to a location that contains the necessary components, and the user must have a valid Microsoft Office license.

Office Web components add interactivity to documents that you save as Web pages. If you view a Web page in a browser on a computer that does not have the components installed, the interactive portions of the page will be static.

See Also

Reference

WebOptions Interface

WebOptions Members

Microsoft.Office.Interop.Excel Namespace