[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.SizeConstraint

Class SizeConstraint

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

Restricts the width or height of the target LayoutRect.

public class SizeConstraint : Constraint
Inheritance
object
SizeConstraint
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

AnchorPoint1

Gets the first anchor point for measuring the source distance.

public AnchorPoint AnchorPoint1 { get; }

Property Value

AnchorPoint

AnchorPoint2

Gets the second anchor point for measuring the source distance.

public AnchorPoint AnchorPoint2 { get; }

Property Value

AnchorPoint

Multiplier

Gets or sets the multiplier to the value of the source distance.

The multiplier must be positive or zero. It is applied before adding the Value.

public float Multiplier { get; set; }

Property Value

float

Value

Gets or sets the absolute or relative width or height of the target LayoutRect.

The absolute width or height must be positive or zero.

public float Value { get; set; }

Property Value

float