'Declaration
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 IDrawingSurface 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)
void DrawIcon( BuiltInIcons builtInIcon, Rectangle rect, RectAlignment alignment, bool disabled, bool scale )
Parameters
- builtInIcon
- The built-in icon to paint.
- rect
- Rectangle structure that specifies the boundary of the icon.
- alignment
- Where the icon is placed.
- disabled
true
to paint the disabled icon.- scale
true
if paint this icon fit to rect, otherwise painting icon with the default size.