Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Enum

OfficeImageExportFormat

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Image formats supported by OfficeIMO dependency-free export pipelines.

Inheritance

  • Enum
  • OfficeImageExportFormat

Usage

Explore 32 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 20

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: OfficeImageFormat

Returns the encoded container format corresponding to this export route.

Parameters

format OfficeIMO.Drawing.OfficeImageExportFormat requiredposition: 0
public static String GetFileExtension(OfficeImageExportFormat format) #
Returns: String

Returns the conventional file extension, including the leading dot.

Parameters

format OfficeIMO.Drawing.OfficeImageExportFormat requiredposition: 0
public static String GetMimeType(OfficeImageExportFormat format) #
Returns: String

Returns the Internet media type for the encoded image.

Parameters

format OfficeIMO.Drawing.OfficeImageExportFormat requiredposition: 0
public static Boolean HasFileExtension(OfficeImageExportFormat format, String? extension) #
Returns: Boolean

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

Parameters

format OfficeIMO.Drawing.OfficeImageExportFormat requiredposition: 0
extension System.String? requiredposition: 1
public static Boolean IsRaster(OfficeImageExportFormat format) #
Returns: Boolean

Returns whether the format is backed by raster pixels.

Parameters

format OfficeIMO.Drawing.OfficeImageExportFormat requiredposition: 0