The following example demonstrates how to save a document using SaveOptions.
using(Redactorredactor=newRedactor(@"C:\sample.pdf")){// Document redaction goes here// ...// Save the document with default options (convert pages into images, save as PDF)redactor.Save();// Save the document in original format overwriting original fileredactor.Save(newSaveOptions(){AddSuffix=false,RasterizeToPDF=false});// Save the document to "*_Redacted.*" file in original formatredactor.Save(newSaveOptions(){AddSuffix=true,RasterizeToPDF=false});// Save the document to "*_AnyText.*" (e.g. timestamp instead of "AnyText") in its file name without rasterizationredactor.Save(newSaveOptions(false,"AnyText"));}