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


centerPt
Point containing the basepoint of rotation
pt1
Point containing the first endpoint
pt2
Point containing the second endpoint

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 containing the basepoint of rotation
pt1
Point containing the first endpoint
pt2
Point containing the second endpoint

Return Value

Floating-point number of degrees in the angle of rotation

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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