DOCM File Viewer For C# .NET Applications

.NET document viewer API to read, render and display DOCM file in any type of C#, ASP.NET, VB.NET & .NET Core applications. View the rendered files with true formatting & layout in HTML5, PDF or as an image using a few lines of the code.


Download Free Trial

About GroupDocs.Viewer for .NET API

Start viewing 190+ popular document formats in your .NET applications using GroupDocs.Viewer for .NET APIs by adding a few lines of code. Developers can easily display PDF, Word Processing, Excel Spreadsheet, Presentation, Visio, Project, Outlook and many other popular document formats in HTML5, image or PDF modes. The document rendering is fast, identical to the original source file, and it does not require installing additional software or any other external libraries.

Steps to Render DOCM file in C#

With GroupDocs.Viewer you can render DOCM to HTML, JPEG, PNG or PDF in a few steps.

  • Install GroupDocs.Viewer for .NET using your favorite package manager.
  • Create an instance of Viewer class and load the DOCM file with full path.
  • Set options to render DOCM file into HTML, PNG, JPEG or PDF format.
  • Render file and check output in the current directory.

System Requirements

GroupDocs.Viewer for .NET APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.

  • Operating Systems: Microsoft Windows, Linux, MacOS
  • Development Environments: Microsoft Visual Studio, Visual Studio Code, .NET CLI
  • Frameworks: .NET Framework, .NET Standard, .NET Core, .NET

                
    // Set up input DOCM file
    string filePath = "input.docm";

    // Instantiate Viewer
    using (Viewer viewer = new Viewer(filePath))
    {
    	// Set view options 
    	HtmlViewOptions viewOptions = HtmlViewOptions.ForEmbeddedResources();
            
    	// Render DOCM file to HTML with embedded resources
    	viewer.View(viewOptions);
    }
     

DOCM Viewer Live Demo

View DOCM file right now by visiting GroupDocs.Viewer Online Apps website.

No need to download API

No need to write any code

Just upload the source file

Scroll down or use the menu to navigate between pages

Other File Formats Rendering & Viewing using C#

Multi-format documents and images viewer API for .NET. View some of the popular file formats below without any external viewers.

Render DOCX

Microsoft Word Open XML Document

Render CDR

CorelDRAW File

Render PPTX

PowerPoint Open XML Presentation

Render XLSX

Microsoft Excel Open XML Spreadsheet

Render DWG

AutoCAD Drawing

Render XML

XML File

Render PSD

Adobe Photoshop Document

Render Adobe Illustrator file

Adobe Illustrator Artwork

Render DOC

Microsoft Word Document

Render TXT

Plain Text File

Render DXF

Drawing Exchange Format File

Render VCF

vCard File

Render SVG

Scalable Vector Graphic

Render HTML

Hypertext Markup Language File

Render PDF

Portable Document Format File

Render JPEG

JPEG Image

Render PNG

Portable Network Graphic

Render EML

E-Mail Message

Render RTF

Rich Text Format File

Render ODT

OpenDocument Text Document

Back to top
 English