ComponentOne Bitmap for UWP
GetFontWeight(Int32,TextRange) Method

C1.UWP.DX Assembly > C1.Util.DX.DirectWrite Namespace > TextLayout Class > GetFontWeight Method : GetFontWeight(Int32,TextRange) Method
HRESULT IDWriteTextLayout::GetFontWeight([In] unsigned int currentPosition,[Out] DWRITE_FONT_WEIGHT* fontWeight,[Out, Optional] DWRITE_TEXT_RANGE* textRange)
Syntax
'Declaration
 
Public Overloads Function GetFontWeight( _
   ByVal currentPosition As System.Integer, _
   ByRef textRange As TextRange _
) As FontWeight
public FontWeight GetFontWeight( 
   System.int currentPosition,
   out TextRange textRange
)

Parameters

currentPosition
textRange
See Also

Reference

TextLayout Class
TextLayout Members
Overload List