BCGControlBar Library for .NET
OnDrawText Method (GalleryFontCommandObject)




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

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

GalleryFontCommandObject Class
GalleryFontCommandObject Members
Base Implementation in OnDrawText

Send Feedback