Call the Save method with the output document path or stream. Specify the SaveOptions class as a parameter.
The following code demonstrates how to save the range of document page:
// for this example input document ("input.pdf") must have at least 4 pagesusing(Annotatorannotator=newAnnotator("input.pdf")){//Result file will be contain only 3 pages (2, 3 and 4 page)annotator.Save("result.pdf",newSaveOptions{FirstPage=2,LastPage=4});}
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
On this page
Ask AI
Ask anything about this page — the answer is based on its content.
Searching the docs and writing an answer…
Something went wrong while getting an answer. Please try again in a moment.