[]
        
(Showing Draft Content)

C1.Win.Document.Util.C1DXTextLayout.DWFontWeightToFontWeight

DWFontWeightToFontWeight Method

DWFontWeightToFontWeight(FontWeight)

Converts C1.Util.DX.DirectWrite.FontWeight to C1.Document.C1FontWeight value.

Declaration
public static C1FontWeight DWFontWeightToFontWeight(FontWeight fontWeight)
Public Shared Function DWFontWeightToFontWeight(fontWeight As FontWeight) As C1FontWeight
Parameters
Type Name Description
FontWeight fontWeight

The C1.Util.DX.DirectWrite.FontWeight to be converted.

Returns
Type Description
C1FontWeight

The C1.Document.C1FontWeight value.