BCGControlBar Library for .NET
DrawContent(Graphics,Rectangle,String) Method




Represents the Graphics object.
Represents the content's bounding rectangle.
Contains the string portion of data to display.
Displays the specified string in the specified rectangle.
Syntax
'Declaration
 
Public Overloads Overridable Function DrawContent( _
   ByVal grph As Graphics, _
   ByVal bounds As Rectangle, _
   ByVal strData As String _
) As Size
'Usage
 
Dim instance As Cell
Dim grph As Graphics
Dim bounds As Rectangle
Dim strData As String
Dim value As Size
 
value = instance.DrawContent(grph, bounds, strData)
public virtual Size DrawContent( 
   Graphics grph,
   Rectangle bounds,
   string strData
)
public: virtual Size DrawContent( 
   Graphics* grph,
   Rectangle bounds,
   string* strData
) 
public:
virtual Size DrawContent( 
   Graphics^ grph,
   Rectangle bounds,
   String^ strData
) 

Parameters

grph
Represents the Graphics object.
bounds
Represents the content's bounding rectangle.
strData
Contains the string portion of data to display.
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

Cell Class
Cell Members
Overload List

Send Feedback