ContactCard.Show Method (Office)
Displays the contact card at the specified x-coordinate position outside the specified rectangle.
Version Information
Version Added: Office 2010
Syntax
expression .Show(Style, Left, Right, Top, Bottom, xcord, fDelay)
expression An expression that returns a ContactCard object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Style |
Required |
MsoContactCardStyle |
Determines whether the card is displayed as a hover card or as a fully expanded card. See Remarks for possible values. |
Left |
Required |
Long |
Specifies the x-coordinate of the left side of the rectangle where the card is not displayed. |
Right |
Required |
Long |
Specifies the x-coordinate of the right side of the rectangle where the card is not displayed. |
Top |
Required |
Long |
Specifies the y-coordinate of the top side of the rectangle where the card is not displayed. |
Bottom |
Required |
Long |
Specifies the y-coordinate of the bottom side of the rectangle where the card is not displayed. |
xcord |
Required |
Long |
Specifies the x-coordinate position of the left edge of the card. |
fDelay |
Required |
Boolean |
Determines if there is a delay before the card is displayed. |
Return Value
Nothing
Remarks
Style must be one of the following MsoContactCardStyle values.
Constant |
Value |
Description |
---|---|---|
msoContactCardTypeEnterpriseContact |
0 |
Represents a contact card for an enterprise contact address. |
msoContactCardTypePersonalContact |
1 |
Represents a contact card for a personal contact address. |
msoContactCardTypeUnknownContact |
2 |
Represents a contact card for an unknown contact address. |
msoContactCardTypeEnterpriseGroup |
3 |
Represents a contact card for an enterprise distribution list contact address. |
msoContactCardTypePersonalDistributionList |
4 |
Represents a contact card for a personal distribution list contact address. |
fDelay applies only if Style is msoContactCardStyleHover. For all other card styles, fDelay is ignored.