Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Drawing Namespace / GdiPlusDrawingContext Class / DrawIcon Method
The built-in icon to paint.
GrapeCity.Drawing.Rectangle structure that specifies the boundary of the icon.
Where the icon is placed.
true to paint the disabled icon.


In This Topic
    DrawIcon Method (GdiPlusDrawingContext)
    In This Topic
    Draws the built-in icon.
    Syntax
    'Declaration
     
    
    Public Sub DrawIcon( _
       ByVal builtInIcon As BuiltInIcons, _
       ByVal rect As Rectangle, _
       ByVal alignment As RectAlignment, _
       ByVal disabled As Boolean, _
       ByVal scale As Boolean _
    ) 
    'Usage
     
    
    Dim instance As GdiPlusDrawingContext
    Dim builtInIcon As BuiltInIcons
    Dim rect As Rectangle
    Dim alignment As RectAlignment
    Dim disabled As Boolean
    Dim scale As Boolean
     
    instance.DrawIcon(builtInIcon, rect, alignment, disabled, scale)

    Parameters

    builtInIcon
    The built-in icon to paint.
    rect
    GrapeCity.Drawing.Rectangle structure that specifies the boundary of the icon.
    alignment
    Where the icon is placed.
    disabled
    true to paint the disabled icon.
    scale
    See Also