'Declaration
Function GetPreferredSize( _
ByVal As Graphics, _
ByVal As Size, _
ByVal As Appearance, _
ByVal As Object, _
ByVal As Single, _
ByVal As ExtraRendererSettings _
) As Size
'使用法
Dim instance As IEnhancedRenderer
Dim g As Graphics
Dim size As Size
Dim appearance As Appearance
Dim value As Object
Dim zoomFactor As Single
Dim extraRendererSettings As ExtraRendererSettings
Dim value As Size
value = instance.GetPreferredSize(g, size, appearance, value, zoomFactor, extraRendererSettings)