Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class / SetVerticalCenter Method / SetVerticalCenter(LayoutRect,AnchorParam,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 parameter.

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

    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.
    offset
    An increment to the value of the source parameter.

    Return Value

    New constraint just added.
    See Also