OpenDocument/zh CN

定义

edit

单元: Lazarus lclintf

function OpenDocument(APath: String): Boolean;

官方文档: http://lazarus-ccr.sourceforge.net/docs/lcl/lclintf/opendocument.html

描述

edit

opendocument使用在操作系统中注册文件/文件扩展名的默认查看器/编辑器打开一个文档/文件。例如,在 Windows 上,该代码将使用注册表来查找扩展名的文件关联。

示例

edit
uses 
...
lclintf
...
OpenDocument('readme.pdf');

参考

edit

贡献者和更改

edit
  • 简体中文版本由 robsean 于 2020-04-23 创建。