VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfPage Class / Crop Methods / Crop(RectangleF,Boolean) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    Crop(RectangleF,Boolean) Method (PdfPage)
    In This Topic
    Crops this page to the specified rectangle.
    Syntax
    'Declaration
    
    Public Overloads Sub Crop( _
    ByVal rect
    Rectangle in page space.
    As System.Drawing.RectangleF, _
    ByVal processFormTree
    A value indicating whether the algorithm must remove all content, of subforms, which is located outside of the specified rectangle.
    As Boolean _
    )

    Parameters

    rect
    Rectangle in page space.
    processFormTree
    A value indicating whether the algorithm must remove all content, of subforms, which is located outside of the specified rectangle.
    Remarks

    Method removes all content that is located outside of the specified rectangle.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also