scripting:api:external-document-view:translate-command

TranslateCommand

Directs the view to handle a command message passed up from the message pump of the process in which the view is running

ExternalDocumentView.TranslateCommand(nID, nCode, pExtra, pHandlerInfo);
ExternalDocumentView.TranslateCommand nID, nCode, pExtra, pHandlerInfo
HRESULT hr = ExternalDocumentView.TranslateCommand(nID, nCode, pExtra, pHandlerInfo);