BCGControlBar Library for .NET
OnDrawText Method (GalleryCommandObject)




Syntax
'Declaration
 
Protected Overridable Sub OnDrawText( _
   ByVal graphics As Graphics, _
   ByVal rect As Rectangle, _
   ByVal text As String, _
   ByVal textColor As Color _
) 
'Usage
 
Dim instance As GalleryCommandObject
Dim graphics As Graphics
Dim rect As Rectangle
Dim text As String
Dim textColor As Color
 
instance.OnDrawText(graphics, rect, text, textColor)
protected virtual void OnDrawText( 
   Graphics graphics,
   Rectangle rect,
   string text,
   Color textColor
)
protected: virtual void OnDrawText( 
   Graphics* graphics,
   Rectangle rect,
   string* text,
   Color textColor
) 
protected:
virtual void OnDrawText( 
   Graphics^ graphics,
   Rectangle rect,
   String^ text,
   Color textColor
) 

Parameters

graphics
rect
text
textColor
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

GalleryCommandObject Class
GalleryCommandObject Members

Send Feedback