Table of Contents

Field GetSvgSizeOverride

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

Gets or sets a function that overrides the default calculation of SVG size.

public static Func<float, int, object?, int>? GetSvgSizeOverride

Returns

Func<float, int, object, int>
Gets or sets a function that overrides the default calculation of SVG size.

Remarks

The function takes a float object and an integer as input parameters, and returns an integer representing the calculated size. If this property is set to null, the default size calculation logic will be used.