共用方式為


LinkShapeGeometry.CalculateRotationAngle Method

Calculates the rotation angle of a link shape's decorator.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Function CalculateRotationAngle ( _
    pt1 As PointD, _
    pt2 As PointD _
) As Single
public float CalculateRotationAngle(
    PointD pt1,
    PointD pt2
)
public:
float CalculateRotationAngle(
    PointD pt1, 
    PointD pt2
)
member CalculateRotationAngle : 
        pt1:PointD * 
        pt2:PointD -> float32 
public function CalculateRotationAngle(
    pt1 : PointD, 
    pt2 : PointD
) : float

Parameters

Return Value

Type: System.Single

.NET Framework Security

See Also

Reference

LinkShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace