Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / SetWidth Method / SetWidth(LayoutRect,AnchorParam,Single,Single) Method
The referenced LayoutRect or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.
The source parameter of the anchorRect.
An increment to the value of the source (anchor) parameter.
A multiplier to the value of the source parameter; applied before adding the delta.

In This Topic
    SetWidth(LayoutRect,AnchorParam,Single,Single) Method
    In This Topic
    Adds a Width constraint relative to anchorRect.
    Syntax
    'Declaration
     
    Public Overloads Function SetWidth( _
       ByVal anchorRect As LayoutRect, _
       ByVal anchorParam As AnchorParam, _
       Optional ByVal delta As System.Single, _
       Optional ByVal multiplier As System.Single _
    ) As SizeConstraint
    public SizeConstraint SetWidth( 
       LayoutRect anchorRect,
       AnchorParam anchorParam,
       System.float delta,
       System.float multiplier
    )

    Parameters

    anchorRect
    The referenced LayoutRect or a null reference (Nothing in Visual Basic) to reference the owner LayoutView.
    anchorParam
    The source parameter of the anchorRect.
    delta
    An increment to the value of the source (anchor) parameter.
    multiplier
    A multiplier to the value of the source parameter; applied before adding the delta.

    Return Value

    New constraint just added.
    See Also