Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / FpHyperlink Class / DoPaint Method / DoPaint(Graphics,Rectangle,String,Color,Color,Font,HorizontalAlignment,VerticalAlignment,LinkArea[],Color,Color,Picture,Boolean[],Boolean,Boolean,StringTrimming,Boolean) Method


In This Topic
    DoPaint(Graphics,Rectangle,String,Color,Color,Font,HorizontalAlignment,VerticalAlignment,LinkArea[],Color,Color,Picture,Boolean[],Boolean,Boolean,StringTrimming,Boolean) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub DoPaint( _
       ByVal g As Graphics, _
       ByVal r As Rectangle, _
       ByVal text As String, _
       ByVal backColor As Color, _
       ByVal foreColor As Color, _
       ByVal font As Font, _
       ByVal horizontalAlignment As HorizontalAlignment, _
       ByVal verticalAlignment As VerticalAlignment, _
       ByVal areas() As LinkArea, _
       ByVal linkColor As Color, _
       ByVal visitedColor As Color, _
       ByVal pict As Picture, _
       ByVal visited() As Boolean, _
       ByVal bLocked As Boolean, _
       ByVal rightToLeft As Boolean, _
       ByVal trim As StringTrimming, _
       ByVal isGrayscale As Boolean _
    ) 
    'Usage
     
    
    Dim g As Graphics
    Dim r As Rectangle
    Dim text As String
    Dim backColor As Color
    Dim foreColor As Color
    Dim font As Font
    Dim horizontalAlignment As HorizontalAlignment
    Dim verticalAlignment As VerticalAlignment
    Dim areas() As LinkArea
    Dim linkColor As Color
    Dim visitedColor As Color
    Dim pict As Picture
    Dim visited() As Boolean
    Dim bLocked As Boolean
    Dim rightToLeft As Boolean
    Dim trim As StringTrimming
    Dim isGrayscale As Boolean
     
    FpHyperlink.DoPaint(g, r, text, backColor, foreColor, font, horizontalAlignment, verticalAlignment, areas, linkColor, visitedColor, pict, visited, bLocked, rightToLeft, trim, isGrayscale)

    Parameters

    g
    r
    text
    backColor
    foreColor
    font
    horizontalAlignment
    verticalAlignment
    areas
    linkColor
    visitedColor
    pict
    visited
    bLocked
    rightToLeft
    trim
    isGrayscale
    See Also