Sign in Join
Wiki copytemporary

OpenDocument/zh CN

English · 中文(中国)

定义

单元: Lazarus lclintf

pascal
function OpenDocument(APath: String): Boolean;

官方文档: 1

描述

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

示例

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

参考

贡献者和更改


From the Free Pascal wiki, page "OpenDocument/zh CN", as it stood on 2022-11-15 after a change by Kai Burghardt, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 1, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.