VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfFormXObjectResource Class / Crop Methods / Crop(RectangleF,Boolean) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    Crop(RectangleF,Boolean) Method (PdfFormXObjectResource)
    In This Topic
    Crops this form to the specified rectangle.
    Syntax
    'Declaration
    
    Public Overloads Sub Crop( _
    ByVal rect
    The rectangle to crop.
    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
    The rectangle to crop.
    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