Version

Convert Method (DiagramConnectionCapTypeToSizeConverter)

Converts a CapType value to a Size value.
Syntax
'Declaration
 
Public Function Convert( _
   ByVal value As Object, _
   ByVal targetType As Type, _
   ByVal parameter As Object, _
   ByVal culture As CultureInfo _
) As Object
public object Convert( 
   object value,
   Type targetType,
   object parameter,
   CultureInfo culture
)

Parameters

value
The CapType value to convert.
targetType
This parameter is not used.
parameter
This parameter is not used.
culture
This parameter is not used.

Return Value

The result of the DiagramCapSizeHelper.GetSizeForCapType method for the value method or null if the value is not a valid CapType.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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