Spread Windows Forms 6.0 Product Documentation
GetPreferredSize(Graphics,Font,Object) Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > FpHyperlink Class > GetPreferredSize Method : GetPreferredSize(Graphics,Font,Object) Method


g
GDI+ graphics surface
font
Font
value
Value

Glossary Item Box

Gets the size to display the text in the hyperlink control.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetPreferredSize( _
   ByVal g As Graphics, _
   ByVal font As Font, _
   ByVal value As Object _
) As SizeF
Visual Basic (Usage)Copy Code
Dim g As Graphics
Dim font As Font
Dim value As Object
Dim value As SizeF
 
value = FpHyperlink.GetPreferredSize(g, font, value)
C# 
public static SizeF GetPreferredSize( 
   Graphics g,
   Font font,
   object value
)

Parameters

g
GDI+ graphics surface
font
Font
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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.