ChartSheetBase.ApplyCustomType Method
Visual Studio 2012
Applies a standard or custom chart type to a Microsoft.Office.Tools.Excel.ChartSheetBase.
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Optional Parameters
For information on optional parameters, see Optional Parameters in Office Solutions.
The following code example uses the ApplyCustomType method to set the current Microsoft.Office.Tools.Excel.ChartSheetBase to a standard chart type that uses clustered bars to display data.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.