BCGControlBar Library for .NET
Draw Method (InternalImages)




A graphics from control surface to draw an image.
Specifies the identifier of the image from IMAGE_IDS enumeration to draw.
The coordinates of the upper-left corner to draw an image.
Specifies the state of the image to draw.
Indicates a value if the large icon mode should be ignored on redrawing the image.
Called by the framework to draw an image from the IMAGE_IDS enumeration on the surface of any control.
Syntax
'Declaration
 
Public Shared Sub Draw( _
   ByVal graphics As Graphics, _
   ByVal id As IMAGES_IDS, _
   ByVal ptImage As Point, _
   ByVal state As IMAGE_STATE, _
   ByVal ignoreLargeIconsMode As Boolean _
) 
'Usage
 
Dim graphics As Graphics
Dim id As IMAGES_IDS
Dim ptImage As Point
Dim state As IMAGE_STATE
Dim ignoreLargeIconsMode As Boolean
 
InternalImages.Draw(graphics, id, ptImage, state, ignoreLargeIconsMode)
public static void Draw( 
   Graphics graphics,
   IMAGES_IDS id,
   Point ptImage,
   IMAGE_STATE state,
   bool ignoreLargeIconsMode
)
public: static void Draw( 
   Graphics* graphics,
   IMAGES_IDS id,
   Point ptImage,
   IMAGE_STATE state,
   bool ignoreLargeIconsMode
) 
public:
static void Draw( 
   Graphics^ graphics,
   IMAGES_IDS id,
   Point ptImage,
   IMAGE_STATE state,
   bool ignoreLargeIconsMode
) 

Parameters

graphics
A graphics from control surface to draw an image.
id
Specifies the identifier of the image from IMAGE_IDS enumeration to draw.
ptImage
The coordinates of the upper-left corner to draw an image.
state
Specifies the state of the image to draw.
ignoreLargeIconsMode
Indicates a value if the large icon mode should be ignored on redrawing the image.
Requirements

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

See Also

Reference

InternalImages Class
InternalImages Members

Send Feedback