[]
Gets the size to display the text in the hyperlink control.
public static SizeF GetPreferredSize(Graphics g, Font font, object value)
Public Shared Function GetPreferredSize(g As Graphics, font As Font, value As Object) As SizeF
Type | Name | Description |
---|---|---|
Graphics | g | GDI+ graphics surface |
Font | font | Font |
object | value | Value |
Type | Description |
---|---|
SizeF | An ordered pair of type Size representing the width and height. |