GetStyleFromPos

Method of ITextDocument

Description

Returns top style with ranges from position

Parameters

Return Value

Syntax

JavaScript

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