Measures the string size.
Syntax
Visual Basic (Usage) | Copy Code |
---|
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) |
Parameters
- g
- Graphics device interface for painting the string
- defaultSize
- Default size
- value
- Value
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