Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / Contour Class / GetBounds Method / GetBounds(LayoutRect,Single,Single,Single,Single) Method
The target LayoutRect.
The minimum X offset of the Contour relative to targetRect's left side.
The maximum X offset of the Contour relative to targetRect's left side.
The minimum Y offset of the Contour relative to targetRect's top side.
The maximum Y offset of the Contour relative to targetRect's top side.

In This Topic
    GetBounds(LayoutRect,Single,Single,Single,Single) Method
    In This Topic
    Gets the minimum and maximum positions of the Contour relative to the specified LayoutRect.
    Syntax
    'Declaration
     
    Public Overloads Sub GetBounds( _
       ByVal targetRect As LayoutRect, _
       ByRef minX As System.Single, _
       ByRef maxX As System.Single, _
       ByRef minY As System.Single, _
       ByRef maxY As System.Single _
    ) 
    public void GetBounds( 
       LayoutRect targetRect,
       out System.float minX,
       out System.float maxX,
       out System.float minY,
       out System.float maxY
    )

    Parameters

    targetRect
    The target LayoutRect.
    minX
    The minimum X offset of the Contour relative to targetRect's left side.
    maxX
    The maximum X offset of the Contour relative to targetRect's left side.
    minY
    The minimum Y offset of the Contour relative to targetRect's top side.
    maxY
    The maximum Y offset of the Contour relative to targetRect's top side.
    See Also