Spread Windows Forms 8.0 Product Documentation
MeasureString(Graphics,Size,Object) Method


Graphics device interface for painting the string
Default size
Value
Measures the string size.
Syntax
'Declaration
 
Protected Overridable Function MeasureString( _
   ByVal g As Graphics, _
   ByVal defaultSize As Size, _
   ByVal value As Object _
) As Size
'Usage
 
Dim instance As RichTextCellType
Dim g As Graphics
Dim defaultSize As Size
Dim value As Object
Dim value As Size
 
value = instance.MeasureString(g, defaultSize, value)
protected virtual Size MeasureString( 
   Graphics g,
   Size defaultSize,
   object value
)

Parameters

g
Graphics device interface for painting the string
defaultSize
Default size
value
Value
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

RichTextCellType Class
RichTextCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.