Table of Contents

Method GetWeightClosestToNumericValue

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

GetWeightClosestToNumericValue(int)

Helper function for converting arbitrary numeric weight to the closest value of FontWeight enum.

public static FontWeight GetWeightClosestToNumericValue(int numWeight)

Parameters

numWeight int

Numeric weight.

Returns

FontWeight