SetOpenActionJavaScriptA

Document properties, JavaScript

Описание

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetOpenActionJavaScript and string arguments are interpreted using the current SetAnsiMode code page

Запускает блок JavaScript при открытии документа

Синтаксис

Delphi

Function DLSetOpenActionJavaScriptA(InstanceID: Integer; JavaScript: PAnsiChar): Integer;

DLL

int DLSetOpenActionJavaScriptA(int InstanceID, const char * JavaScript);

Параметры

JavaScriptJavaScript для этого действия

Return values

0JavaScript добавить не удалось
1Код JavaScript добавлен успешно