[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutView.GetContentRectangleF

GetContentRectangleF Method

GetContentRectangleF(bool)

Calculates the minimal RectangleF that contains all non-empty LayoutRects, excluding the view itself.

Declaration
public RectangleF GetContentRectangleF(bool oneDimensionNonZero = false)
Public Function GetContentRectangleF(Optional oneDimensionNonZero As Boolean = False) As RectangleF
Parameters
Type Name Description
bool oneDimensionNonZero

If true, all rectangles with non-zero width or height are taken into account. If false, both width and height must be non-zero for the rectangle to be taken into account.

Returns
Type Description
RectangleF

The resulting RectangleF.