Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / EnhancedInterfaceRenderer Class / PaintRangeGroupButton Method
Graphics device interface for painting the button
X-coordinate
Y-coordinate
Width, in pixels
Height, in pixels
State of the outline (range group)
Whether this outline (range group) is of rows
Whether it is set to right-to-left


In This Topic
    PaintRangeGroupButton Method (EnhancedInterfaceRenderer)
    In This Topic
    Paints the outline (range group) button.
    Syntax
    'Declaration
     
    
    Public Sub PaintRangeGroupButton( _
       ByVal g As Graphics, _
       ByVal x As Integer, _
       ByVal y As Integer, _
       ByVal width As Integer, _
       ByVal height As Integer, _
       ByVal groupState As GroupState, _
       ByVal rowGroup As Boolean, _
       ByVal isLeftToRight As Boolean _
    ) 
    'Usage
     
    
    Dim instance As EnhancedInterfaceRenderer
    Dim g As Graphics
    Dim x As Integer
    Dim y As Integer
    Dim width As Integer
    Dim height As Integer
    Dim groupState As GroupState
    Dim rowGroup As Boolean
    Dim isLeftToRight As Boolean
     
    instance.PaintRangeGroupButton(g, x, y, width, height, groupState, rowGroup, isLeftToRight)
    public void PaintRangeGroupButton( 
       Graphics g,
       int x,
       int y,
       int width,
       int height,
       GroupState groupState,
       bool rowGroup,
       bool isLeftToRight
    )

    Parameters

    g
    Graphics device interface for painting the button
    x
    X-coordinate
    y
    Y-coordinate
    width
    Width, in pixels
    height
    Height, in pixels
    groupState
    State of the outline (range group)
    rowGroup
    Whether this outline (range group) is of rows
    isLeftToRight
    Whether it is set to right-to-left
    See Also