Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutView Class / GetContentRectangleF Method
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.

In This Topic
    GetContentRectangleF Method
    In This Topic
    Calculates the minimal System.Drawing.RectangleF that contains all non-empty LayoutRects, excluding the view itself.
    Syntax
    'Declaration
     
    Public Function GetContentRectangleF( _
       Optional ByVal oneDimensionNonZero As System.Boolean _
    ) As System.Drawing.RectangleF
    public System.Drawing.RectangleF GetContentRectangleF( 
       System.bool oneDimensionNonZero
    )

    Parameters

    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.

    Return Value

    The resulting System.Drawing.RectangleF.
    See Also