@@ -280,7 +280,8 @@ Redact sensitive information in a PDF:
280280
281281``` csharp
282282var result = await convertApi .ConvertAsync (" pdf" , " redact" ,
283- new ConvertApiFileParam (@" C:\files\document.pdf" ));
283+ new ConvertApiFileParam (@" C:\files\document.pdf" ),
284+ new ConvertApiParam (" Preset" , " gdpr" ));
284285await result .SaveFilesAsync (@" C:\output\" );
285286```
286287
@@ -301,7 +302,8 @@ Convert a PDF to PDF/A format for archiving:
301302
302303``` csharp
303304var result = await convertApi .ConvertAsync (" pdf" , " pdfa" ,
304- new ConvertApiFileParam (@" C:\files\document.pdf" ));
305+ new ConvertApiFileParam (@" C:\files\document.pdf" ),
306+ new ConvertApiParam (" PdfaVersion" , " pdfa2" ));
305307await result .SaveFilesAsync (@" C:\output\" );
306308```
307309
@@ -346,7 +348,8 @@ Extract images from a PDF:
346348
347349``` csharp
348350var result = await convertApi .ConvertAsync (" pdf" , " extract-images" ,
349- new ConvertApiFileParam (@" C:\files\document.pdf" ));
351+ new ConvertApiFileParam (@" C:\files\document.pdf" ),
352+ new ConvertApiParam (" ImageOutputFormat" , " png" ));
350353await result .SaveFilesAsync (@" C:\output\" );
351354```
352355
0 commit comments