Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / SetWidth Method / SetWidth(AnchorPoint,AnchorPoint,Single,Single) Method
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
    SetWidth(AnchorPoint,AnchorPoint,Single,Single) Method
    In This Topic
    Adds a Width constraint relative to the distance between anchorPoint1 and anchorPoint2.
    Syntax
    'Declaration
     
    Public Overloads Function SetWidth( _
       ByVal anchorPoint1 As AnchorPoint, _
       ByVal anchorPoint2 As AnchorPoint, _
       Optional ByVal delta As System.Single, _
       Optional ByVal multiplier As System.Single _
    ) As SizeConstraint
    public SizeConstraint SetWidth( 
       AnchorPoint anchorPoint1,
       AnchorPoint anchorPoint2,
       System.float delta,
       System.float multiplier
    )

    Parameters

    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