ContactItem 方法 (Outlook)ContactItem.SaveBusinessCardImage method (Outlook)

保存从指定的**ContactItem** 对象生成的名片的图像。Saves an image of the business card generated from the specified ContactItem object.

语法Syntax

expressionexpression. SaveBusinessCardImage( _Path_ )

_表达式_一个返回ContactItem对象的表达式。expression An expression that returns a ContactItem object.

参数Parameters

名称Name 必需/可选Required/Optional 数据类型Data type 说明Description
路径Path 必需Required StringString 要保存的图像的完全限定路径和文件名。The fully qualified path and file name of the image to be saved.

说明Remarks

此方法生成一个图像, 作为从指定的ContactItem对象生成的名片的可移植网络图形 (.png) 文件。This method generates an image, as a Portable Network Graphics (.png) file, of the business card generated from the specified ContactItem object. 如果在路径中指定的路径和文件名称不能解析,则将发生错误。If the path and file name specified in Path cannot be resolved, an error occurs.

另请参阅See also

创建 ContactItem 对象ContactItem Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.