PdfDocument.ClearContent(Int32, List<OrientedRectangle>, Boolean, Boolean, Boolean, Boolean) Method
Clears the content of a specified PDF page within the specified regions.
Namespace: DevExpress.Docs.Pdf
Assembly: DevExpress.Docs.Pdf.v26.1.dll
Declaration
public void ClearContent(
int pageIndex,
List<OrientedRectangle> regions,
bool clearText = true,
bool clearImages = true,
bool clearGraphics = true,
bool clearAnnotations = true
)
Parameters
| Name | Type | Description |
|---|---|---|
| pageIndex | Int32 | The index of the target page. |
| regions | List<OrientedRectangle> | A list of regions to clear on the page. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| clearText | Boolean | True |
|
| clearImages | Boolean | True |
|
| clearGraphics | Boolean | True |
|
| clearAnnotations | Boolean | True |
|
See Also