[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.GetAngleRelativeTo

GetAngleRelativeTo Method

GetAngleRelativeTo(LayoutRect)

Gets the rotation angle of the current LayoutRect from the standpoint of the targetRect.

Declaration
public int GetAngleRelativeTo(LayoutRect targetRect)
Public Function GetAngleRelativeTo(targetRect As LayoutRect) As Integer
Parameters
Type Name Description
LayoutRect targetRect

A LayoutRect which defines the base angle or null to reference the owner LayoutView.

Returns
Type Description
int

The relative angle, in degrees.