OpenDocument/zh CN

From Lazarus wiki
Revision as of 04:39, 23 April 2020 by Robsean (talk | contribs) (Created page with "==定义== 单元: Lazarus '''lclintf''' <syntaxhighlight lang="pascal"> function OpenDocument(APath: String): Boolean; </syntaxhighlight> 官方文档: [http://lazarus-ccr....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

定义

单元: Lazarus lclintf

function OpenDocument(APath: String): Boolean;

官方文档: [1]

描述

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

示例

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

参考

贡献者和更改

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