GetDocJavaScript

Belge özellikleri, JavaScript

Açıklama

Belirtilen belge eylemine bağlı JavaScript'i alır

Sözdizimi

Delphi

Function TPDFlib.GetDocJavaScript(Const ActionType: WideString): WideString;

ActiveX

Function PDFlib::GetDocJavaScript(ActionType As String) As String

DLL

const wchar_t* DLGetDocJavaScript(int InstanceID, const wchar_t* ActionType);
const char* DLGetDocJavaScriptA(int InstanceID, const char* ActionType);

Parametreler

ActionTypeBu eyleme bağlı JavaScript'i al: "DC" = Belgeyi kapat "WS" = Kaydedecek "DS" = Kaydetti "WP" = Yazdıracak "DP" = Yazdırdı

Dönüş değerleri

Belge düzeyi JavaScript'i tetikleyici için döndürür; yoksa boş dize döndürür