Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

OfficeImageExportFormat

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

Image formats supported by OfficeIMO dependency-free export pipelines.

Inheritance

  • Enum
  • OfficeImageExportFormat

Usage

Explore 30 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 18

Values

public const OfficeImageExportFormat Png #

Portable Network Graphics raster output.

Value: 0
public const OfficeImageExportFormat Svg #

Scalable Vector Graphics XML output.

Value: 1
public const OfficeImageExportFormat Jpeg #

Joint Photographic Experts Group raster output.

Value: 2
public const OfficeImageExportFormat Tiff #

Tagged Image File Format raster output.

Value: 3
public const OfficeImageExportFormat Webp #

Lossless WebP raster output.

Value: 4
public const OfficeImageExportFormat Bmp #

Windows V4 bitmap with explicit alpha masks.

Value: 5
public const OfficeImageExportFormat Pbm #

Binary bilevel Portable Bitmap; pixels are composited over white before thresholding.

Value: 6
public const OfficeImageExportFormat Tga #

Uncompressed 32-bit Truevision TGA with straight alpha.

Value: 7
public const OfficeImageExportFormat Icon #

Windows icon with a PNG-compressed entry.

Value: 8

Extension Methods

public static OfficeImageFormat GetContainerFormat(OfficeImageExportFormat format) #

Returns the encoded container format corresponding to this export route.

Parameters

format OfficeIMO.Drawing.OfficeImageExportFormat required
public static string GetFileExtension(OfficeImageExportFormat format) #

Returns the conventional file extension, including the leading dot.

Parameters

format OfficeIMO.Drawing.OfficeImageExportFormat required

Returns

string
public static string GetMimeType(OfficeImageExportFormat format) #

Returns the Internet media type for the encoded image.

Parameters

format OfficeIMO.Drawing.OfficeImageExportFormat required

Returns

string
public static bool HasFileExtension(OfficeImageExportFormat format, string? extension) #

Returns whether a path extension is conventional for this output format.

Parameters

format OfficeIMO.Drawing.OfficeImageExportFormat required
extension string? required

Returns

bool
public static bool IsRaster(OfficeImageExportFormat format) #

Returns whether the format is backed by raster pixels.

Parameters

format OfficeIMO.Drawing.OfficeImageExportFormat required

Returns

bool