ExcelWebRenderer.AutoGenerateTitle Property

Automatically generates the title shown for the Excel Web Access Web Part based on the workbook that is displayed.

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

Syntax

'Declaration
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property AutoGenerateTitle As Boolean
    Get
    Set
'Usage
Dim instance As ExcelWebRenderer
Dim value As Boolean

value = instance.AutoGenerateTitle

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

Property Value

Type: System.Boolean
true if the title is automatically generated. false if the title value is based on user input. The default is true.

Remarks

The title of this Web Part is automatically generated based on the loaded workbook if this property is set to true. When this property is false, the title for this Web Part is not automatically generated. Instead, it uses the value the user enters for the title. Also see TitleUrl.

See Also

Reference

ExcelWebRenderer Class

ExcelWebRenderer Members

Microsoft.Office.Excel.WebUI Namespace