ComponentOne Bitmap for UWP
GetFontWeight(Int32) Method

C1.UWP.DX Assembly > C1.Util.DX.DirectWrite Namespace > TextLayout Class > GetFontWeight Method : GetFontWeight(Int32) Method
The position of the text to inspect.
Gets the font weight of the text at the specified position.
Syntax
'Declaration
 
Public Overloads Function GetFontWeight( _
   ByVal currentPosition As System.Integer _
) As FontWeight
public FontWeight GetFontWeight( 
   System.int currentPosition
)

Parameters

currentPosition
The position of the text to inspect.

Return Value

a value which indicates the type of font weight being applied at the specified position.
See Also

Reference

TextLayout Class
TextLayout Members
Overload List