Skip to main content
All docs
V23.2

PdfPageFacade.ClearContent Method

Name Parameters Description
ClearContent(PdfClearContentRegions, PdfClearContentOptions) regions, options Clears the document content located in the specified regions. Allows you to set what content type to keep in these regions.
ClearContent(PdfClearContentRegions) regions Clears the document content located in the specified regions.
ClearContent(PdfOrientedRectangle, PdfClearContentOptions) rect, options Clears the document content located in the specified rectangle. Allows you to specify what content type to keep.
ClearContent(PdfOrientedRectangle, Boolean, PdfClearContentOptions) rect, usePageCoordinateSystem, options Clears the document content located in the specified rectangle. Allows you to set whether to use the page coordinate system, and what content type to keep.
ClearContent(PdfOrientedRectangle, Boolean) rect, usePageCoordinateSystem Clears the document content located in the specified rectangle. Allows you to specify whether to use the page coordinate system.
ClearContent(PdfOrientedRectangle) rect Clears the document content located in the specified rectangle.
ClearContent(PdfRectangle, PdfClearContentOptions) rect, options Clears the document content located in the specified rectangle. Allows you to specify what content type to keep.
ClearContent(PdfRectangle, Boolean, PdfClearContentOptions) rect, usePageCoordinateSystem, options Clears the document content located in the specified rectangle. Allows you to specify whether to use the page coordinate system, and what content type to keep.
ClearContent(PdfRectangle, Boolean) rect, usePageCoordinateSystem Clears the document content located in the specified rectangle. Allows you to specify whether to use the page coordinate system.
ClearContent(PdfRectangle) rect Clears the document content in the specified rectangle.