Partager via


_ContactItem.SaveBusinessCardImage Method

Saves an image of the business card generated from the specified ContactItem object.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Sub SaveBusinessCardImage ( _
    Path As String _
)
'Usage
Dim instance As _ContactItem
Dim Path As String

instance.SaveBusinessCardImage(Path)
[DispIdAttribute()]
void SaveBusinessCardImage(
    string Path
)

Parameters

  • Path
    Type: System.String

    The fully qualified path and file name of the image to be saved.

Remarks

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

Reference

_ContactItem Interface

_ContactItem Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Modify the Layout of an Electronic Business Card