GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Charts Namespace / IChart Interface / ApplyLayout Method
Specifies the type of layout. The type of layout is denoted by a number from 1 to 10.
The type of chart.


In This Topic
ApplyLayout Method
In This Topic
Applies the layouts shown in the ribbon.
Syntax
'Declaration
 
Sub ApplyLayout( _
   ByVal layout As Integer, _
   Optional ByVal chartType As ChartType _
) 
 
'Usage
 
Dim instance As IChart
Dim layout As Integer
Dim chartType As ChartType
 
instance.ApplyLayout(layout, chartType)

Parameters

layout
Specifies the type of layout. The type of layout is denoted by a number from 1 to 10.
chartType
The type of chart.
See Also