Share via


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
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebPartStorageAttribute(Storage.Shared)> _
<WebBrowsableAttribute(True)> _
Public Property AutoGenerateTitle As Boolean
    Get
    Set
'Usage
Dim instance As ExcelWebRenderer
Dim value As Boolean

value = instance.AutoGenerateTitle

instance.AutoGenerateTitle = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebPartStorageAttribute(Storage.Shared)]
[WebBrowsableAttribute(true)]
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.

See Also

Reference

ExcelWebRenderer Class

ExcelWebRenderer Members

Microsoft.Office.Excel.WebUI Namespace