BCGControlBar Library for .NET
MeasureCell Method (TextCell)




Graphics object.
Calculates cell size.
Syntax
'Declaration
 
Public Overrides Function MeasureCell( _
   ByVal grph As Graphics _
) As Size
'Usage
 
Dim instance As TextCell
Dim grph As Graphics
Dim value As Size
 
value = instance.MeasureCell(grph)
public override Size MeasureCell( 
   Graphics grph
)
public: Size MeasureCell( 
   Graphics* grph
) override 
public:
Size MeasureCell( 
   Graphics^ grph
) override 

Parameters

grph
Graphics object.

Return Value

Cell size.
Remarks
This method is called from GridControl.AutoResizeColumns to determine maximal column width.
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

TextCell Class
TextCell Members
Base Implementation in MeasureCell

Send Feedback