SharpDX.DirectWrite.TextLayout.GetFontStyle C# (CSharp) Method

GetFontStyle() public method

Gets the font style (also known as slope) of the text at the specified position.
public GetFontStyle ( int currentPosition ) : FontStyle
currentPosition int The position of the text to inspect.
return FontStyle
        public FontStyle GetFontStyle(int currentPosition)
        {
            TextRange temp;
            return GetFontStyle(currentPosition, out temp);
        }