AddStyleRange

Method of IDocument

Add Style Range

Return Value

JavaScript

var ppStyleRange = Document.AddStyleRange(pRange, pStyle, bMerge);

Visual Basic Script

ppStyleRange = Document.AddStyleRange pRange, pStyle, bMerge

C++

CComPtr<IStyleRange> pStyleRange;
HRESULT hr = Document.AddStyleRange(pRange, pStyle, bMerge, &pStyleRange);