Table of Contents

Method SetSvgImage

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

SetSvgImage(SvgImage?, KnownButton?, CoordAndUnit?)

Sets the SVG image for the control.

public virtual void SetSvgImage(SvgImage? svg, KnownButton? btn, CoordAndUnit? size = null)

Parameters

svg SvgImage

The SVG image to be set. If null, known button image will be used.

btn KnownButton?

The known button type. If null, svg image should be specified.

size CoordAndUnit?

The optional size for the image. If not specified, the default size for the SVG image would be used.