'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)
public void DrawIcon( BuiltInIcons builtInIcon, Rectangle rect, RectAlignment alignment, bool disabled, bool 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