Spread Windows Forms 9.0 Product Documentation
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
Requirements

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

See Also

Reference

PSObject Class
PSObject Members

 

 


Copyright © GrapeCity, inc. All rights reserved.