Spread Windows Forms 12.0 Product Documentation
GetRotateAngle Method


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > PSObject Class : GetRotateAngle Method
Point that contains the basepoint of rotation
Point that contains the first end point
Point that contains the second end point
Gets the rotate angle.
Syntax
'Declaration
 
Protected Overridable Function GetRotateAngle( _
   ByVal centerPt As Point, _
   ByVal pt1 As Point, _
   ByVal pt2 As Point _
) As Single
'Usage
 
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)
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
See Also

Reference

PSObject Class
PSObject Members