[]
Calculates the minimal RectangleF that contains all non-empty LayoutRects, excluding the view itself.
public RectangleF GetContentRectangleF(bool oneDimensionNonZero = false)
Public Function GetContentRectangleF(Optional oneDimensionNonZero As Boolean = False) As RectangleF
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. |
Type | Description |
---|---|
RectangleF | The resulting RectangleF. |