Style

Method of IApplication

Creates Style Object

  • BSTR strID
  • BSTR strName = "" (optional)
  • BSTR strDescription = "" (optional)
  • VARIANT pSyntax (optional)

Return Value

JavaScript

var ppStyle = Application.Style(strID, strName, strDescription, pSyntax);

Visual Basic Script

ppStyle = Application.Style strID, strName, strDescription, pSyntax

C++

CComPtr<IStyle> pStyle;
HRESULT hr = Application.Style(strID, strName, strDescription, pSyntax, &pStyle);