Difference between revisions of "OpenDocument/zh CN"

From Lazarus wiki
Jump to navigationJump to search
(Created page with "==定义== 单元: Lazarus '''lclintf''' <syntaxhighlight lang="pascal"> function OpenDocument(APath: String): Boolean; </syntaxhighlight> 官方文档: [http://lazarus-ccr....")
 
m (Bypass openurl redirection to OpenUrl)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{LanguageBar}}
 +
 
==定义==
 
==定义==
 
单元: Lazarus '''lclintf'''
 
单元: Lazarus '''lclintf'''
Line 23: Line 25:
  
 
* [[macOS_Open_Sesame|macOS Open 命令]]
 
* [[macOS_Open_Sesame|macOS Open 命令]]
* [[openurl|OpenURL]]
+
* [[OpenURL]]
  
 
== 贡献者和更改 ==
 
== 贡献者和更改 ==

Revision as of 04:11, 1 April 2021

English (en) 中文(中国大陆)‎ (zh_CN)

定义

单元: Lazarus lclintf

function OpenDocument(APath: String): Boolean;

官方文档: [1]

描述

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

示例

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

参考

贡献者和更改

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