INFO: Using Analysis Server Format Properties with the Office XP PivotTable Component (318122)
The information in this article applies to:
- Microsoft Office XP Web Components
- Microsoft SQL Server 2000 Analysis Services
This article was previously published under Q318122 SUMMARY
The Microsoft Office XP PivotTable component supports two undocumented properties: UseProviderFormatting and DisplayCellColor. These properties allow you to use server formatting for cells and totals in a PivotTable view.
- When you set the UseProviderFormatting property to True, the PivotTable component applies number formats that are stored on the server to the totals that appear in the PivotTable view. The default setting for this property is False.
- When you set the DisplayCellColor property to True, the PivotTable component applies Forecolor and Backcolor settings that are stored on the server to the cells that appear in the PivotTable view. The default setting for this property is False.
- The PivotTable component does not support other format properties that can be set on the server, such as FontName, FontSize, and FontFlags.
NOTE: The UseProviderFormatting and DisplayCellColor properties are hidden members in the Microsoft Office XP Web Components object model. These members are not documented and, therefore, these members are not supported by Microsoft Technical Support. The sample code in this article is provided "as-is."
REFERENCES
For more information about programming Office Web Components, visit the following Microsoft Developer Network (MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 6/30/2004 |
---|
Keywords: | kbinfo kbOfficeWebPivot KB318122 |
---|
|