BCGSoft.ControlBars Namespace > ToolbarButton Class : DrawButtonImage Method |
'Declaration Public Function DrawButtonImage( _ ByVal graphics As Graphics, _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal image As Image, _ ByVal bFadeImage As Boolean, _ ByVal bShadow As Boolean, _ ByVal bDisabled As Boolean, _ ByVal forceIgnoreLargeIcons As Boolean _ ) As Boolean
'Usage Dim instance As ToolbarButton Dim graphics As Graphics Dim x As Integer Dim y As Integer Dim image As Image Dim bFadeImage As Boolean Dim bShadow As Boolean Dim bDisabled As Boolean Dim forceIgnoreLargeIcons As Boolean Dim value As Boolean value = instance.DrawButtonImage(graphics, x, y, image, bFadeImage, bShadow, bDisabled, forceIgnoreLargeIcons)
public bool DrawButtonImage( Graphics graphics, int x, int y, Image image, bool bFadeImage, bool bShadow, bool bDisabled, bool forceIgnoreLargeIcons )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2