Spread Windows Forms 7.0 Product Documentation
GetRotateAngle Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > PSObject Class : GetRotateAngle Method


centerPt
Point that contains the basepoint of rotation
pt1
Point that contains the first end point
pt2
Point that contains the second end point

Glossary Item Box

Gets the rotate angle.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function GetRotateAngle( _
   ByVal centerPt As Point, _
   ByVal pt1 As Point, _
   ByVal pt2 As Point _
) As Single
Visual Basic (Usage)Copy Code
Dim instance As PSObject
Dim centerPt As Point
Dim pt1 As Point
Dim pt2 As Point
Dim value As Single
 
value = instance.GetRotateAngle(centerPt, pt1, pt2)
C# 
protected virtual float GetRotateAngle( 
   Point centerPt,
   Point pt1,
   Point pt2
)

Parameters

centerPt
Point that contains the basepoint of rotation
pt1
Point that contains the first end point
pt2
Point that contains the second end point

Return Value

Floating-point number of degrees in the angle of rotation

Requirements

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.