Spread WinForms 15
FarPoint.Excel Assembly / FarPoint.Excel Namespace / IExcelChartReader8 Interface / ExcelSetAxisTitle Method
Index of sheetView.
Index of chart.
Type of plot area.
Type of Axis.
Index of axis.
Title of axis.
Font
Font color.
Text direction.
Text rotation angle
Is left pos.
Is top pos.
Is from XML.
Is default position.
Specifies whether the it is overlay.
Specifies whether it is manually set.


In This Topic
ExcelSetAxisTitle Method (IExcelChartReader8)
In This Topic
Set axis title info.
Syntax
'Declaration
 
Function ExcelSetAxisTitle( _
   ByVal sheet As Short, _
   ByVal chartIndex As Integer, _
   ByVal plotAreaType As PlotAreaType, _
   ByVal axisType As AxisType, _
   ByVal index As Integer, _
   ByVal axisTitle As String, _
   ByVal font As Font, _
   ByVal fontColor As Color, _
   ByVal textDirection As TextVerticalType, _
   ByVal textRotationAngle As Integer, _
   ByVal left As Single, _
   ByVal top As Single, _
   ByVal isXML As Boolean, _
   ByVal isDefaultPosition As Boolean, _
   ByVal isOverlay As Boolean, _
   ByVal isManualLayout As Boolean _
) As Boolean
 
'Usage
 
Dim instance As IExcelChartReader8
Dim sheet As Short
Dim chartIndex As Integer
Dim plotAreaType As PlotAreaType
Dim axisType As AxisType
Dim index As Integer
Dim axisTitle As String
Dim font As Font
Dim fontColor As Color
Dim textDirection As TextVerticalType
Dim textRotationAngle As Integer
Dim left As Single
Dim top As Single
Dim isXML As Boolean
Dim isDefaultPosition As Boolean
Dim isOverlay As Boolean
Dim isManualLayout As Boolean
Dim value As Boolean
 
value = instance.ExcelSetAxisTitle(sheet, chartIndex, plotAreaType, axisType, index, axisTitle, font, fontColor, textDirection, textRotationAngle, left, top, isXML, isDefaultPosition, isOverlay, isManualLayout)

Parameters

sheet
Index of sheetView.
chartIndex
Index of chart.
plotAreaType
Type of plot area.
axisType
Type of Axis.
index
Index of axis.
axisTitle
Title of axis.
font
Font
fontColor
Font color.
textDirection
Text direction.
textRotationAngle
Text rotation angle
left
Is left pos.
top
Is top pos.
isXML
Is from XML.
isDefaultPosition
Is default position.
isOverlay
Specifies whether the it is overlay.
isManualLayout
Specifies whether it is manually set.

Return Value

TRUE if success, otherwise, FALSE
See Also