Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / AppendSizeConstraint Method / AppendSizeConstraint(TargetParam,AnchorPoint,AnchorPoint,Single,Single) Method
The target parameter of the current LayoutRect.
The first referenced AnchorPoint.
The second referenced AnchorPoint.
An increment to the value of the source distance.
A multiplier to the value of the source distance; applied before adding the delta.

In This Topic
    AppendSizeConstraint(TargetParam,AnchorPoint,AnchorPoint,Single,Single) Method
    In This Topic
    Adds a SizeConstraint relative to the distance between anchorPoint1 and anchorPoint2.
    Syntax
    'Declaration
     
    Public Overloads Function AppendSizeConstraint( _
       ByVal targetParam As TargetParam, _
       ByVal anchorPoint1 As AnchorPoint, _
       ByVal anchorPoint2 As AnchorPoint, _
       Optional ByVal delta As System.Single, _
       Optional ByVal multiplier As System.Single _
    ) As SizeConstraint
    public SizeConstraint AppendSizeConstraint( 
       TargetParam targetParam,
       AnchorPoint anchorPoint1,
       AnchorPoint anchorPoint2,
       System.float delta,
       System.float multiplier
    )

    Parameters

    targetParam
    The target parameter of the current LayoutRect.
    anchorPoint1
    The first referenced AnchorPoint.
    anchorPoint2
    The second referenced AnchorPoint.
    delta
    An increment to the value of the source distance.
    multiplier
    A multiplier to the value of the source distance; applied before adding the delta.

    Return Value

    New constraint just added.
    See Also