IconContentType
Enum representing possible icon types.
Supported in M-Files Client version 25.10 and later.
| Name | Value | Description |
|---|---|---|
SVG | svg | SVG in string format "<svg>...<svg>". |
BASE64 | base64 | Base64 part of file without mimetype part, e.g. "iVBORw0KGgoAAAANSUhEUgAA...". Note: Extension information must be provided when using this icon content type. |
PATH | path | Relative path to icon file, e.g. assets/icon/icon.svg |
BUILT_IN | built_in | Built-in icon representation. |
Runtime Access
This enumeration is available at runtime on the MFiles global object. Access enum values using MFiles.IconContentType.<value>.
Example:
const value = MFiles.IconContentType.SVG;
See also: MFiles Global Object