'Declaration
Protected Overridable Function MeasureString( _
ByVal As Graphics, _
ByVal As Size, _
ByVal As Object _
) As Size
'使用法
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)