Share via


_CardView.Width Property

Returns or sets an Integer (int in C#) value indicating the width (in characters) of cards in the CardView object. Read/write.

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

Syntax

'Declaration
Property Width As Integer
    Get
    Set
'Usage
Dim instance As _CardView
Dim value As Integer

value = instance.Width

instance.Width = value
int Width { get; set; }

Property Value

Type: System.Int32

Remarks

This property can be set to a value between 20 and 1000. If this property is set to a value less than 20, the property is set to 20. If this property is set to a value greater than 1000, the property is set to 1000.

The default value for this property depends on the DefaultItemType property value of the Folder object displayed by the view:

DefaultItemType value

Default value

olAppointmentItem

40

olContactItem, olDistributionListItem

36

olJournalItem, olMailItem, olNoteItem, olPostItem

32

olTaskItem

50

See Also

Reference

_CardView Interface

_CardView Members

Microsoft.Office.Interop.Outlook Namespace