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

In This Topic
    SetHorizontalCenter(AnchorPoint,Single) Method
    In This Topic
    Adds a HorizontalCenter constraint relative to anchorPoint.
    Syntax
    'Declaration
     
    Public Overloads Function SetHorizontalCenter( _
       ByVal anchorPoint As AnchorPoint, _
       Optional ByVal offset As System.Single _
    ) As PositionConstraint
    public PositionConstraint SetHorizontalCenter( 
       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