[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.PositionConstraint

Class PositionConstraint

Namespace
GrapeCity.Documents.Layout
Assembly
GcDocs.Imaging.dll

Determines the position of sides or centers of the target LayoutRect.

public class PositionConstraint : Constraint
Inheritance
PositionConstraint
Inherited Members

Properties

AnchorPoint

Gets the AnchorPoint used as the origin position for the constraint.

public AnchorPoint AnchorPoint { get; }

Property Value

AnchorPoint

Offset

Gets or sets the relative position of sides or centers of the target LayoutRect.

Returns float.NaN for a chained slave constraint.

public float Offset { get; set; }

Property Value

float

Opposite

Gets the opposite constraint that makes a chained pair, or null for unchained constraints.

public PositionConstraint Opposite { get; }

Property Value

PositionConstraint