[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutRect.SetAngle

SetAngle Method

SetAngle(LayoutRect, int)

Adds an Angle constraint relative to anchorRect.

Declaration
public AngleConstraint SetAngle(LayoutRect anchorRect, int relativeAngle = 0)
Public Function SetAngle(anchorRect As LayoutRect, Optional relativeAngle As Integer = 0) As AngleConstraint
Parameters
Type Name Description
LayoutRect anchorRect

The referenced LayoutRect or null to reference the owner LayoutView.

int relativeAngle

The rotation angle relative to anchorRect, in degrees.

Returns
Type Description
AngleConstraint

New constraint just added.