Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / GetAngleRelativeTo Method
A LayoutRect which defines the base angle or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.

In This Topic
    GetAngleRelativeTo Method
    In This Topic
    Gets the rotation angle of the current LayoutRect from the standpoint of the targetRect.
    Syntax
    'Declaration
     
    Public Function GetAngleRelativeTo( _
       ByVal targetRect As LayoutRect _
    ) As System.Integer
    public System.int GetAngleRelativeTo( 
       LayoutRect targetRect
    )

    Parameters

    targetRect
    A LayoutRect which defines the base angle or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.

    Return Value

    The relative angle, in degrees.
    See Also