Spread WPF 14
GrapeCity.Windows.SpreadSheet.Data Namespace / DataBarDrawingObject Class / DataBarDrawingObject Constructor
The row index.
The column index.
The fill color of the data bar object.
The border color of the data bar object.
Whether to show the border of the data bar object.
The axis color of the data bar object.
The fill type of the data bar object.
The direction the data bar object
The axis location the data bar object
The scale of the data bar object.
trueShow bar only; otherwise, false.


In This Topic
    DataBarDrawingObject Constructor
    In This Topic
    Constructs a data bar object with the specified row index, column index, color, scale, and data bar or data bar and data.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal rowIndex As Integer, _
       ByVal columnIndex As Integer, _
       ByVal fillColor As Color, _
       ByVal borderColor As Color, _
       ByVal showBorder As Boolean, _
       ByVal axisColor As Color, _
       ByVal isGradient As Boolean, _
       ByVal direction As BarDirection, _
       ByVal axisLocation As Double, _
       ByVal scale As Double, _
       ByVal showBarOnly As Boolean _
    )
    'Usage
     
    Dim rowIndex As Integer
    Dim columnIndex As Integer
    Dim fillColor As Color
    Dim borderColor As Color
    Dim showBorder As Boolean
    Dim axisColor As Color
    Dim isGradient As Boolean
    Dim direction As BarDirection
    Dim axisLocation As Double
    Dim scale As Double
    Dim showBarOnly As Boolean
     
    Dim instance As New DataBarDrawingObject(rowIndex, columnIndex, fillColor, borderColor, showBorder, axisColor, isGradient, direction, axisLocation, scale, showBarOnly)
    public DataBarDrawingObject( 
       int rowIndex,
       int columnIndex,
       Color fillColor,
       Color borderColor,
       bool showBorder,
       Color axisColor,
       bool isGradient,
       BarDirection direction,
       double axisLocation,
       double scale,
       bool showBarOnly
    )

    Parameters

    rowIndex
    The row index.
    columnIndex
    The column index.
    fillColor
    The fill color of the data bar object.
    borderColor
    The border color of the data bar object.
    showBorder
    Whether to show the border of the data bar object.
    axisColor
    The axis color of the data bar object.
    isGradient
    The fill type of the data bar object.
    direction
    The direction the data bar object
    axisLocation
    The axis location the data bar object
    scale
    The scale of the data bar object.
    showBarOnly
    trueShow bar only; otherwise, false.
    See Also