Derives a viewport size from a dimension and zoom factor.
Namespace:
Mindscape.WpfDiagramming.FoundationAssembly: Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public Object Convert( Object[] values, Type targetType, Object parameter, CultureInfo culture ) |
Visual Basic (Declaration) |
---|
Public Function Convert ( _ values As Object(), _ targetType As Type, _ parameter As Object, _ culture As CultureInfo _ ) As Object |
Parameters
- values
- Type: array<
System..::.Object
>[]()[]
The dimension and zoom factor.
- targetType
- Type: System..::.Type
The type of the binding target property.
- parameter
- Type: System..::.Object
The converter parameter to use.
- culture
- Type: System.Globalization..::.CultureInfo
The culture to use in the conversion.
Return Value
The viewport size.Implements
IMultiValueConverter..::.Convert(array<Object>[]()[], Type, Object, CultureInfo)
Remarks
The values are expected to be as follows:
1. The dimension.
2. The zoom factor.