Spread Windows Forms 7.0 Product Documentation
TouchZoomSnapPoints Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : TouchZoomSnapPoints Property

Glossary Item Box

Gets a zoom factor group and when the zoom ends, the final zoom factor snaps to a snap point in this group.


Visual Basic (Declaration) 
Public ReadOnly Property TouchZoomSnapPoints As List(Of Single)
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As List(Of Single)
value = instance.TouchZoomSnapPoints
public List<float> TouchZoomSnapPoints {get;}

Property Value

A System.Single value list that represents a zoom factor group and when the zoom ends, the final zoom factor tries to snap to a zoom factor in this group.


This example sets the TouchZoomSnapPoints property.
C#Copy Code
fpSpread1.AllowUserToTouchZoom = true;
fpSpread1.MinZoomFactor = .1F;
fpSpread1.TouchZoomSnapDistance = 1;
VB.NETCopy Code
FpSpread1.AllowUserToTouchZoom = True
FpSpread1.MinZoomFactor = .1F
FpSpread1.TouchZoomSnapDistance = 1


Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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