Convert DOCM to PNG in C#

Native and high performance DOCM to PNG conversion using server side GroupDocs.Conversion for .NET APIs, without the use of any software like Microsoft or Open Office.

Download Free Trial

About GroupDocs.Conversion for .NET API

GroupDocs.Conversion API can be used to convert Microsoft Word, Excel, PowerPoint, PDF, Visio and various other formats. GroupDocs.Conversion is a standalone API that is suitable for server side and backend systems where high performance is required. It does not depend on any software like Microsoft or Open Office.

Steps to Convert DOCM to PNG in C#

GroupDocs.Conversion makes it easy for developers to convert the DOCM file to PNG using a few lines of code.

  • Create an instance of Converter class and load the DOCM file with full path
  • Create & set ConvertOptions for the png type
  • Call Converter.Convert method and pass the full path and format (PNG) as parameter

System Requirements

A basic conversion with GroupDocs.Conversion for .NET APIs can be done by implementing a few easy steps. Our 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, Xamarin, MonoDevelop
  • Frameworks: .NET Framework, .NET Standard, .NET Core, Mono
  • Get the latest version of GroupDocs.Conversion for .NET downloaded from Nuget

// load the DOCM file
var converter = new GroupDocs.Conversion.Converter("template.docm");
// set the convert options for PNG format
var convertOptions = converter.GetPossibleConversions()["png"].ConvertOptions;
// convert to PNG format
converter.Convert("output.png", convertOptions);

DOCM to PNG Live Demos

Convert DOCM to PNG right now by visiting GroupDocs.Conversion Live Demos website.
The live demo has the following benefits

No need to download GroupDocs API.

No need to write any code

Just upload the source file to have an instant display.

Get the download link to save the file on your machine.

About PNG File Format

PNG, Portable Network Graphics, refers to a type of raster image file format that use loseless compression. This file format was created as a replacement of Graphics Interchange Format (GIF) and has no copyright limitations. However, PNG file format does not support animations. PNG file format supports loseless image compression that makes it popular among its users. With the passage of time, PNG has evolved as one of the mostly used image file format. Almost all Operating Systems have support for opening PNG files. For example, Microsoft Windows viewer has the capability to open PNG files as the OS has by default the support available as part of installation.

Read More

Other Supported Conversions

You can also convert DOCM into many other file formats. Please see the complete list below.

DOCM TO EPUB

(Digital E-Book File Format)

DOCM TO XPS

(Open XML Paper Specification)

DOCM TO TEX

(LaTeX Source Document)

DOCM TO PPT

(PowerPoint Presentation)

DOCM TO PPS

(Microsoft PowerPoint Slide Show)

DOCM TO PPTX

(PowerPoint Open XML Presentation)

DOCM TO PPSX

(PowerPoint Open XML Slide Show)

DOCM TO ODP

(OpenDocument Presentation File Format)

DOCM TO OTP

(Origin Graph Template)

DOCM TO POTX

(Microsoft PowerPoint Open XML Template)

DOCM TO POTM

(Microsoft PowerPoint Template)

DOCM TO PPTM

(Microsoft PowerPoint Presentation)

DOCM TO PPSM

(Microsoft PowerPoint Slide Show)

DOCM TO XLS

(Microsoft Excel Binary File Format)

DOCM TO XLSX

(Microsoft Excel Open XML Spreadsheet)

DOCM TO XLSM

(Microsoft Excel Macro-Enabled Spreadsheet)

DOCM TO XLSB

(Microsoft Excel Binary Spreadsheet File)

DOCM TO ODS

(Open Document Spreadsheet)

DOCM TO XLTX

(Microsoft Excel Open XML Template)

DOCM TO XLTM

(Microsoft Excel Macro-Enabled Template)

DOCM TO TSV

(Tab Separated Values File)

DOCM TO XLAM

(Microsoft Excel Macro-Enabled Add-In)

DOCM TO CSV

(Comma Separated Values File)

DOCM TO DOC

(Microsoft Word Document)

DOCM TO DOCM

(Microsoft Word Macro-Enabled Document)

DOCM TO DOCM

(Microsoft Word Open XML Document)

DOCM TO DOT

(Microsoft Word Document Template)

DOCM TO DOTM

(Microsoft Word Macro-Enabled Template)

DOCM TO DOTX

(Word Open XML Document Template)

DOCM TO RTF

(Rich Text File Format)

DOCM TO ODT

(Open Document Text)

DOCM TO OTT

(Open Document Template)

DOCM TO TXT

(Plain Text File Format)

DOCM TO MD

(Markdown)

DOCM TO TIFF

(Tagged Image File Format)

DOCM TO TIF

(Tagged Image File Format)

DOCM TO JPG

(Joint Photographic Expert Group Image File)

DOCM TO JPEG

(JPEG Image)

DOCM TO PNG

(Portable Network Graphic)

DOCM TO GIF

(Graphical Interchange Format File)

DOCM TO BMP

(Bitmap File Format)

DOCM TO ICO

(Microsoft Icon File)

DOCM TO PSD

(Adobe Photoshop Document)

DOCM TO WMF

(Windows Metafile)

DOCM TO EMF

(Enhanced Metafile Format)

DOCM TO WEBP

(Raster Web Image File Format)

DOCM TO SVG

(Scalable Vector Graphics File)

DOCM TO JP2

(JPEG 2000 Core Image File)

DOCM TO EMZ

(Enhanced Windows Metafile Compressed)

DOCM TO WMZ

(Windows Metafile Compressed)

DOCM TO HTML

(Hyper Text Markup Language)

DOCM TO MHT

(MIME Encapsulation of Aggregate HTML)

DOCM TO MHTML

(MIME Encapsulation of Aggregate HTML)