←选择平台

getFormatFriendlyName方法

概括
获取指定文档格式的友好名称。
句法
C#
VB
Objective-C
C ++
爪哇
上市静止的细绳getFormatFriendlyName(DocumentFormat格式
上市共享功能getFormatFriendlyName(_byval格式作为DocumentFormat_作为细绳
+(NSString *)友好名称:( ltdocumentFormat)格式
上市静止的字符串getFormatFriendlyName(document format格式
上市静止的字符串^ getFormatFriendlyName(DocumentFormat格式

参数

格式
请求文档格式。

返回值

一个包含指定格式友好名称的字符串。

评论

此方法将返回一个友好的名称格式。例如,Adobe PDF文件将返回类似于“ Adob​​e PDF”的字符串,Microsoft Word 2003文档将返回“ Microsoft Word”等等。在向用户呈现列表以选择保存文档的格式时,您可以在应用程序中使用此值。

有关LeadTools文档作家支持的各种文档格式的更多信息,请参阅DocumentFormat

要获取特定文档格式的文件扩展名,请使用getFormatFileExtension

例子

例如,请参阅DocumentWriter

要求

目标平台

LeadTools.Document.Writer Assembly
188金宝搏的网址客服|支持|联系我们|知识产权通知
©1991-2021Lead Technologies,Inc。版权所有。