FarPoint.Win Assembly > FarPoint.Win Namespace > FpSlider Class > GetPreferredSize Method : GetPreferredSize(SliderOrientation,Int32,Int32,Int32) Method |
'Declaration Public Overloads Shared Function GetPreferredSize( _ ByVal orientation As SliderOrientation, _ ByVal minimum As Integer, _ ByVal maximum As Integer, _ ByVal tickSpacing As Integer _ ) As Size
'Usage Dim orientation As SliderOrientation Dim minimum As Integer Dim maximum As Integer Dim tickSpacing As Integer Dim value As Size value = FpSlider.GetPreferredSize(orientation, minimum, maximum, tickSpacing)
public static Size GetPreferredSize( SliderOrientation orientation, int minimum, int maximum, int tickSpacing )
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8