Spread Windows Forms 17
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


In This Topic
    GetRotateAngle Method (PSObject)
    In This Topic
    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
    See Also