NPM Package/docs/components/pdf/page-delete
Page Delete
Delete pages from the active PDF with page-delete using the SDK.
The page-delete action removes pages from the current PDF. It uses pageRange to determine which pages should be deleted.
Because this operation changes page count and page ordering, the host should refresh or re-render its page UI after a successful result.
Delete only after the user has clearly selected the pages to remove.
typescript
Example
Example showing how to delete pages programmatically:
typescript
Vanilla TS Integration
Open the focused demo to test page deletion live.
PDF Page Delete Demo
Focused live demo for page-delete.
Preview opens in a large modal for zoom-friendly review.
