EnableFileCommand

EnableFileCommand 属性:设置文件菜单和工具按钮状态,可读写。

语法:

document.getElementById("PDFCtrl1").EnableFileCommand(Item) = true|false;

参数 描述
Item 无符号整数类型,取值为:{ 1,2,3,4,5,6,7,8},“文件”菜单中的菜单项的索引。

[!note]

CommandType:

​ 1:文件->打开菜单

​ 2:文件->关闭菜单

​ 3:文件->保存菜单

​ 4:文件->另存为菜单

​ 5:文件->打印菜单

​ 6:文件->打印预览菜单

​ 7:文件->打印设置菜单

​ 8:文件->属性菜单

results matching ""

    No results matching ""