OfficeIMO

API Reference

Enum

CustomImagePartType

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

Enumeration of additional image types supported by the library.

Inheritance

  • Enum
  • CustomImagePartType

Values

public const CustomImagePartType Bmp #

Bitmap image type.

Value: 0
public const CustomImagePartType Gif #

GIF image type.

Value: 1
public const CustomImagePartType Jpeg #

JPEG image type.

Value: 2
public const CustomImagePartType Png #

PNG image type.

Value: 3
public const CustomImagePartType Tiff #

TIFF image type.

Value: 4
public const CustomImagePartType Emf #

Enhanced metafile image type.

Value: 5
public const CustomImagePartType Svg #

Scalable Vector Graphics image type.

Value: 6

Extension Methods

public static String ToOpenXmlImagePartType(CustomImagePartType customType) #
Returns: String

Converts the custom image part type to the Open XML content type string.

Parameters

customType OfficeIMO.Word.CustomImagePartType requiredposition: 0
The custom image part type.

Returns

The corresponding content type value.