Version

GetXPItemSize Method

Returns the size of an item using the Office XP layout formatting
Syntax
'Declaration
 
Protected Function GetXPItemSize( _
   ByVal e As MeasureItemEventArgs, _
   ByVal isBottomItem As Boolean _
) As Size
protected Size GetXPItemSize( 
   MeasureItemEventArgs e,
   bool isBottomItem
)

Parameters

e
MeasureItem event arguments
isBottomItem
True if the item is the last in a group

Return Value

The size required to display the item
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also