Spread Windows Forms 18
FarPoint.Win Assembly / FarPoint.Win Namespace / FpMultiOption Class / DoPaint Method / DoPaint(Graphics,Rectangle,Color,Color,Font,HorizontalAlignment,VerticalAlignment,ButtonTextAlign,RadioOrientation,RadioPicture,ArrayList,Int32,Int32,Boolean,Boolean,Picture,Boolean,Boolean) Method


In This Topic
    DoPaint(Graphics,Rectangle,Color,Color,Font,HorizontalAlignment,VerticalAlignment,ButtonTextAlign,RadioOrientation,RadioPicture,ArrayList,Int32,Int32,Boolean,Boolean,Picture,Boolean,Boolean) Method
    In This Topic
    Paints the multiple options buttons with default width and height.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub DoPaint( _
       ByVal g As Graphics, _
       ByVal r As Rectangle, _
       ByVal backColor As Color, _
       ByVal foreColor As Color, _
       ByVal font As Font, _
       ByVal halign As HorizontalAlignment, _
       ByVal valign As VerticalAlignment, _
       ByVal nAlign As ButtonTextAlign, _
       ByVal nOrientation As RadioOrientation, _
       ByVal radioPicture As RadioPicture, _
       ByVal radioList As ArrayList, _
       ByVal selectedItem As Integer, _
       ByVal focusItem As Integer, _
       ByVal pressed As Boolean, _
       ByVal mnemonics As Boolean, _
       ByVal backpict As Picture, _
       ByVal bLocked As Boolean, _
       Optional ByVal compact As Boolean _
    ) 
    'Usage
     
    
    Dim g As Graphics
    Dim r As Rectangle
    Dim backColor As Color
    Dim foreColor As Color
    Dim font As Font
    Dim halign As HorizontalAlignment
    Dim valign As VerticalAlignment
    Dim nAlign As ButtonTextAlign
    Dim nOrientation As RadioOrientation
    Dim radioPicture As RadioPicture
    Dim radioList As ArrayList
    Dim selectedItem As Integer
    Dim focusItem As Integer
    Dim pressed As Boolean
    Dim mnemonics As Boolean
    Dim backpict As Picture
    Dim bLocked As Boolean
    Dim compact As Boolean
     
    FpMultiOption.DoPaint(g, r, backColor, foreColor, font, halign, valign, nAlign, nOrientation, radioPicture, radioList, selectedItem, focusItem, pressed, mnemonics, backpict, bLocked, compact)

    Parameters

    g
    r
    backColor
    foreColor
    font
    halign
    valign
    nAlign
    nOrientation
    radioPicture
    radioList
    selectedItem
    focusItem
    pressed
    mnemonics
    backpict
    bLocked
    compact
    See Also