Method of ITextDocument
Returns top style with ranges from position
var ppStyleRange = TextDocument.GetStyleFromPos(pt, bRangesOnly);
==== Visual Basic Script ====
ppStyleRange = TextDocument.GetStyleFromPos pt, bRangesOnly
==== C++ ====
CComPtr<IStyleRange> pStyleRange; HRESULT hr = TextDocument.GetStyleFromPos(pt, bRangesOnly, &pStyleRange);
===== See Also ===== ITextDocument