VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Content Namespace / PdfContentXObjectEditor Class / RemoveXObjects(Boolean,Boolean,RectangleF[]) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    RemoveXObjects(Boolean,Boolean,RectangleF[]) Method (PdfContentXObjectEditor)
    In This Topic
    Removes XObjects from specified region.
    Syntax
    'Declaration
    
    Public Sub RemoveXObjects( _
    ByVal removeForms
    A value indicating whether all forms (form XObjects) must be removed.
    As Boolean, _
    ByVal removeImages
    A value indicating whether all images (image XObjects) must be removed.
    As Boolean, _
    ByVal ParamArray rects
    An array of rectangles, in content space (user units), which defines region, where XObjects must be removed.
    () As System.Drawing.RectangleF _
    )
    public: void RemoveXObjects(
    bool removeForms,
    bool removeImages,
    params System.Drawing.RectangleF*[]* rects
    )
    public:
    void RemoveXObjects(
    bool removeForms,
    bool removeImages,
    ... array<System.Drawing.RectangleF^>^ rects
    )

    Parameters

    removeForms
    A value indicating whether all forms (form XObjects) must be removed.
    removeImages
    A value indicating whether all images (image XObjects) must be removed.
    rects
    An array of rectangles, in content space (user units), which defines region, where XObjects must be removed.
    Remarks

    XObject will be removed from content if XObject completely contains in specified region.

    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