.NET Temel Uygulamalarda C# ve Normal İfadeler aracılığıyla DOTM Dosyayı Temizleyin

Windows, Linux ve macOS’ta Office ve OpenOffice Belgeleri, E-Tablolar ve Sunumlar ile DOTM’teki hassas bilgileri bulun ve kaldırın


.NET API için Belge Metni Redaksiyonu

PDF, Word, Excel, PowerPoint belgelerindeki ve resimlerdeki hassas ve sınıflandırılmış bilgilerin temizlenmesi için, biçimden bağımsız tek bir arayüz, meta verileri değiştirme ve yorumları kaldırma yeteneği dahil. GroupDocs.Redaction for .NET aracıyla, sınıflandırılmış bilgileri yeniden düzenleyebilir ve düzeltilmiş belgeyi PDF’de kaydedebilir, tüm sayfaları raster görüntülere dönüştürebilir veya daha fazla düzenleme için belgeyi orijinal biçiminde tutabilirsiniz.

C# aracılığıyla Normal İfadeler kullanarak DOTM'teki Metni Düzeltin

GroupDocs.Redaction, .NET geliştiricilerinin, DOTM dosyasını birkaç kolay adımda yeniden düzenlemek için normal ifadelerin tam gücünü kullanmasına olanak tanır.

  • Redactor sınıfının bir örneğini oluşturun ve DOTM dosyasını yükleyin
  • Metni bulmak ve değiştirmek için bir RegexRedaction sınıfı örneği oluşturun
  • RegexRedaction nesnesiyle Redactor.Apply yöntemini çağırın

Redaksiyon API'sini Kullanmaya Başlayın

Komut satırından “nuget install GroupDocs.Redaction”" olarak veya Visual Studio’nun Paket Yöneticisi Konsolu aracılığıyla “Install-Package GroupDocs.Redaction”" ile yükleyin. Alternatif olarak, downloads adresinden bir ZIP dosyasındaki çevrimdışı MSI yükleyicisini veya DLL’leri edinin ve projenizde buna manuel olarak başvurun.

using (Redactor redactor = new Redactor(@"sample.dotm"))
{
	redactor.Apply(new RegexRedaction("\\d{2}\\s*\\d{2}[^\\d]*\\d{6}", new ReplacementOptions(System.Drawing.Color.Blue)));
	redactor.Save();
}

DOTM Tr Live Demo

Checkout the free online demo for DOTM Tr.

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 Tr Options

CSV Tr

(Comma Seperated Values)

DOC Tr

(Microsoft Word Binary Format)

DOCM Tr

(Microsoft Word 2007 Marco File)

DOCX Tr

(Office 2007+ Word Document)

DOT Tr

(Microsoft Word Template Files)

DOTX Tr

(Microsoft Word Template File )

PDF Tr

(Portable Document Format)

POT Tr

(Microsoft PowerPoint Template Files)

POTM Tr

(Microsoft PowerPoint Template File)

PPS Tr

(PowerPoint Slide Show)

PPSM Tr

(Macro-enabled Slide Show)

PPSX Tr

(PowerPoint Slide Show)

PPT Tr

(Microsoft PowerPoint 97-2003)

PPTM Tr

(Macro-enabled Presentation File)

PPTX Tr

(Open XML presentation Format)

RTF Tr

(Rich Text Format)

XLS Tr

(Microsoft Excel Spreadsheet (Legacy))

XLSM Tr

(Macro-enabled Spreadsheet)

XLSX Tr

(Open XML Workbook)

XLT Tr

(Excel 97 - 2003 Template)

XLTM Tr

(Excel Macro-Enabled Template)

XLTX Tr

(Excel Template)

Back to top
 Türkçe