Add

Method of IStyleCollector

Add style to collection

JavaScript

StyleCollector.Add(pStyle, nLine, nPosFrom, nPosTo);

Visual Basic Script

StyleCollector.Add pStyle, nLine, nPosFrom, nPosTo

C++

HRESULT hr = StyleCollector.Add(pStyle, nLine, nPosFrom, nPosTo);