Table of Contents

Method AsImageSet

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

AsImageSet()

Gets svg image as ImageSet with default toolbar image size.

public virtual ImageSet? AsImageSet()

Returns

ImageSet

AsImageSet(int)

Gets svg image as ImageSet.

public virtual ImageSet? AsImageSet(int size)

Parameters

size int

Image size

Returns

ImageSet

AsImageSet(int, KnownSvgColor, bool)

Gets image with the specified size and known svg color.

public virtual ImageSet? AsImageSet(int size, KnownSvgColor knownColor, bool isDark)

Parameters

size int

Image size in pixels.

knownColor KnownSvgColor

Known image color.

isDark bool

Whether color theme is dark.

Returns

ImageSet