Skip to end of metadata
Go to start of metadata
Contents Summary
 

Following are some common properties, methods, and utilities used in all GroupDocs.Redaction for .NET API examples.

Common Properties

Apply License

Following code applies product license.

Integrate Dynabic.Metered Account

GroupDocs.Metadata for .NET API allows its users to use Dynabic.Metered account to run library in licensed mode. It works only with enabled internet connection.

Load Document

The Recipe

  • Load Document using Redactor.Load(@"C:\sample.docx")

  • Perform redaction operations

The Code

Load Document Using Stream

The Recipe

  • Initialize Stream using File.Open(@"C:\\sample.docx", FileMode.Open, FileAccess.ReadWrite)

  • Load Document using Redactor.Load(Stream)

  • Perform redaction operations

The Code

Save Document

The Recipe

  • Load Document using Redactor.Load(@"C:\sample.docx")

  • Perform redaction operations and save the document using one or more mentioned methods

The Code

Complete Class

Labels
  • No labels