---
title: "Codeunit 3012 DotNet_ImageFormat"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/3012-dotnet-imageformat/
type: codeunit
id: 3012
name: "DotNet_ImageFormat"
app: "Base Application"
versions: "17-21"
build: 21.5.53619.63803
obsolete: "Pending 19.0"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 3012 DotNet_ImageFormat

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/3012-dotnet-imageformat/

| | |
| --- | --- |
| App | Base Application |
| Versions | 17-21 |
| Obsolete | Pending 19.0, seen from 19. This codeunit is obsolete. Use the ImageFormat Enum in the Image Module instead. |
| Source file | DotNet Wrappers/DotNetImageFormat.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Bmp | () | - | public | 17-21 | - | - |
| Emf | () | - | public | 17-21 | - | - |
| Exif | () | - | public | 17-21 | - | - |
| Gif | () | - | public | 17-21 | - | - |
| Icon | () | - | public | 17-21 | - | - |
| Jpeg | () | - | public | 17-21 | - | - |
| Png | () | - | public | 17-21 | - | - |
| Tiff | () | - | public | 17-21 | - | - |
| Wmf | () | - | public | 17-21 | - | - |
| GetImageFormat | (var DotNet ImageFormat) | - | public | 17-21 | - | - |
| SetImageFormat | (DotNet ImageFormat) | - | public | 17-21 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.

Jonas Paprotka, 2026-09-20.
