IdenticonTagHelperFormat Property

Gets or sets the format of the generated icon. This attribute is optional and defaults to PNG.
public ExportImageFormat Format { get; set; }

Property Value

ExportImageFormat

Examples

In the following example identicon-format is used to render SVG icons instead of PNG icons.

Using identicon-format
@{
    var userId = "TestIcon";
}
<img identicon-value="userId" identicon-format="Svg" width="100" height="100" /&lt;

See Also

Reference