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

Windows, Linux ve macOS’ta Office ve OpenOffice Belgeleri, E-Tablolar ve Sunumlar ile DOCM’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 DOCM'teki Metni Düzeltin

GroupDocs.Redaction, .NET geliştiricilerinin, DOCM 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 DOCM 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.docm"))
{
	redactor.Apply(new RegexRedaction("\\d{2}\\s*\\d{2}[^\\d]*\\d{6}", new ReplacementOptions(System.Drawing.Color.Blue)));
	redactor.Save();
}

DOCM Tr Live Demo

Checkout the free online demo for DOCM Tr.

No need to set up

No need to write any code

Just upload the source file

Get the download link

What is DOCM File Format?

DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. It is similar to DOCX file format but the ability to run macros makes it different from DOCX. Like DOCX, DOCM files can be store text, images, tables, shapes, charts and other contents.The capability to run macros make it easy to save time by executing the series of commands in the form of recorded actions for automatic completion of a task. DOCM files can be opened and edited in Microsoft Word 2007 and above.

Read More

Other Tr Options

CSV Tr

(Comma Seperated Values)

DOC Tr

(Microsoft Word Binary Format)

DOCX Tr

(Office 2007+ Word Document)

DOT Tr

(Microsoft Word Template Files)

DOTM Tr

(Microsoft Word 2007+ Template File)

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