Oscura i file DOTM tramite C# nelle .NET app principali

Cerca e sostituisci testo in documenti, fogli di lavoro e presentazioni Office e OpenOffice nonché DOTM su Windows, Linux e macOS


Redazione del documento per l'API .NET

Un’unica interfaccia indipendente dal formato per l’oscuramento di informazioni riservate e classificate da documenti e immagini PDF, Word, Excel, PowerPoint, inclusa la possibilità di modificare i metadati e rimuovere i commenti. Con lo strumento GroupDocs.Redaction for .NET puoi redigere il testo e salvare il documento redatto in PDF, trasformando tutte le pagine in immagini raster o mantenendo il documento nel suo formato originale per ulteriori modifiche.

Oscura testo esatto da DOTM tramite C#

GroupDocs.Redaction consente agli .NET sviluppatori di aggiungere facilmente DOTM la funzionalità di revisione dei file con pochi semplici passaggi.

  • Crea un’istanza della classe Redactor e carica il file DOTM
  • Crea un’istanza della classe ExactPhraseRedaction per trovare e sostituire il testo
  • Richiama il metodo Redactor.Apply con oggetto di ExactPhraseRedaction

Inizia con l'API Redaction

Installa dalla riga di comando come nuget install GroupDocs.Redaction o tramite Package Manager Console di Visual Studio con Install-Package GroupDocs.Redaction. In alternativa, scarica il programma di installazione MSI offline o le DLL in un file ZIP da download e fai riferimento a esso manualmente nel tuo progetto.

using (Redactor redactor = new Redactor(@"sample.dotm"))
{
	redactor.Apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]")));
	redactor.Save();
}

DOTM It Live Demo

Checkout the free online demo for DOTM It.

No need to set up

No need to write any code

Just upload the source file

Get the download link

What is DOTM File Format?

A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. It is similar to the popular DOCX file format other than it retains the user defined settings for reuse in case of creating new documents. Such documents are more often used in offices where a standard template file is generated with settings like page information, margins, default layout and macros, and is used to create new documents from it when required. DOTM files, however, save macros, that are a series of commands in the form of recorded actions for automatic completion of a task. This helps save time in carrying out actions that are repeated in completion of a task.

Read More

Other It Options

CSV It

(Comma Seperated Values)

DOC It

(Microsoft Word Binary Format)

DOCM It

(Microsoft Word 2007 Marco File)

DOCX It

(Office 2007+ Word Document)

DOT It

(Microsoft Word Template Files)

DOTX It

(Microsoft Word Template File )

PDF It

(Portable Document Format)

POT It

(Microsoft PowerPoint Template Files)

POTM It

(Microsoft PowerPoint Template File)

PPS It

(PowerPoint Slide Show)

PPSM It

(Macro-enabled Slide Show)

PPSX It

(PowerPoint Slide Show)

PPT It

(Microsoft PowerPoint 97-2003)

PPTM It

(Macro-enabled Presentation File)

PPTX It

(Open XML presentation Format)

RTF It

(Rich Text Format)

XLS It

(Microsoft Excel Spreadsheet (Legacy))

XLSM It

(Macro-enabled Spreadsheet)

XLSX It

(Open XML Workbook)

XLT It

(Excel 97 - 2003 Template)

XLTM It

(Excel Macro-Enabled Template)

XLTX It

(Excel Template)

Back to top
 Italiano