Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / SetVerticalCenter Method / SetVerticalCenter(AnchorPoint,Single) Method
The referenced AnchorPoint.
An increment to the position of anchorPoint.

In This Topic
    SetVerticalCenter(AnchorPoint,Single) Method
    In This Topic
    Adds a VerticalCenter constraint relative to anchorPoint.
    Syntax
    'Declaration
     
    Public Overloads Function SetVerticalCenter( _
       ByVal anchorPoint As AnchorPoint, _
       Optional ByVal offset As System.Single _
    ) As PositionConstraint
    public PositionConstraint SetVerticalCenter( 
       AnchorPoint anchorPoint,
       System.float offset
    )

    Parameters

    anchorPoint
    The referenced AnchorPoint.
    offset
    An increment to the position of anchorPoint.

    Return Value

    New constraint just added.
    See Also